MapboxSearch class

A class for holding the client that separates the clients for the Mapbox Search Box and Geocoding API

Properties

client MapboxSearchClient
Client for interacting with Mapbox APIs
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Dispose the instance, resetting the initialization flag
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

instance MapboxSearch
Singleton instance of MapboxSearch
no setter

Static Methods

initialize({required String accessToken}) MapboxSearch
Initialize the MapboxSearch instance with the access token