setAccessToken static method

void setAccessToken(
  1. String token
)

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 void setAccessToken(String token) {
  MapboxMapsFlutterPlatform.instance.mapboxOptions.setAccessToken(token);
}