getStyleError method
If the last attempt to set the style via MapConfiguration.style
failed,
returns the error information, otherwise returns null.
Implementation
@override
Future<String?> getStyleError({required int mapId}) {
final MethodChannel channel = ensureChannelInitialized(mapId);
return channel.invokeMethod<String>('map#getStyleError');
}