enableLiveData method
Implementation
@override
Future<void> enableLiveData(
String domainType, OnLiveLocationUpdateListener? listener) {
if (listener != null) {
_liveUpdateListeners.putIfAbsent(domainType, () => listener);
}
return mapControlMethodChannel.invokeMethod("MPC_enableLiveData",
{"domainType": domainType, "listener": (listener != null)});
}