getMapProviderIds static method

List<int> getMapProviderIds()

Returns a list of available map provider IDs present on the device.

Returns

  • (List<int>) Integer IDs corresponding to MapProviderId values. The list may be empty if no map data is present.

Implementation

static List<int> getMapProviderIds() {
  final OperationResult resultString = staticMethod(
    'MapDetails',
    'getMapProviderIds',
  );

  return (resultString['result'] as List<dynamic>).cast<int>();
}