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}) {
return _hostApi(mapId).getLastStyleError();
}