accessToken property

Future<String> get accessToken

The public access token that is used to access resources provided by Mapbox services. For more information about public access tokens, see Mapbox Access Tokens.

Implementation

static Future<String> get accessToken async {
  return MapboxMapsFlutterPlatform.instance.mapboxOptions.getAccessToken();
}