currentPlatform function
Implementation
MapProviderPlatform currentPlatform() {
if (kIsWeb) {
return MapProviderPlatform.web;
} else if (Platform.isAndroid) {
return MapProviderPlatform.android;
} else if (Platform.isIOS) {
return MapProviderPlatform.ios;
} else {
return MapProviderPlatform.desktop;
}
}