handleMessage method
Implementation
@override
void handleMessage(
MapViewController mapViewController, Map<String, dynamic> payload) {
String code = payload['code'] ?? '';
MapViewError? errorPayload;
switch (code) {
case 'NO_NETWORK_ERROR':
errorPayload = MapViewError.noNetworkError();
break;
default:
break;
}
if (errorPayload != null) {
mapViewController._notifyMapViewError(errorPayload);
}
}