getMapProviderIds static method
Get the map provider IDs list.
The function returns the list of map provider IDs. It may be empty if no map data is available on the device.
Returns
- The map provider IDs list. The values will be in range of MapProviderId.
Throws
- An exception if it fails.
Implementation
static List<int> getMapProviderIds() {
final OperationResult resultString = objectMethod(
0,
'MapDetails',
'getMapProviderIds',
);
return (resultString['result'] as List<dynamic>).cast<int>();
}