mapLanguage property

MapLanguage get mapLanguage

Get the current setting for the map language selection.

Returns

  • The map language selection method

Throws

  • An exception if it fails.

Implementation

static MapLanguage get mapLanguage {
  final OperationResult resultString = staticMethod(
    'SdkSettings',
    'getMapLanguage',
  );

  return MapLanguageExtension.fromId(resultString['result']);
}
set mapLanguage (MapLanguage mapLanguage)

Set the map language selection method.

Parameters

Throws

  • An exception if it fails.

Implementation

static set mapLanguage(MapLanguage mapLanguage) {
  objectMethod(0, 'SdkSettings', 'setMapLanguage', args: mapLanguage.id);
}