MapboxOptions class final
A class that provides options and configurations for Mapbox services.
This class includes methods to get and set the public access token, which is required to access Mapbox resources. The access token can be retrieved or updated using the static methods provided.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
accessToken
→ Future<
String> -
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.
no setter
Static Methods
-
setAccessToken(
String token) → void - 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.