instance property
NavigationWithMapboxPlatform
get
instance
The default instance of NavigationWithMapboxPlatform to use.
Defaults to MethodChannelNavigationWithMapbox.
Implementation
static NavigationWithMapboxPlatform get instance => _instance;
set
instance
(NavigationWithMapboxPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends NavigationWithMapboxPlatform when they register themselves.
Implementation
static set instance(NavigationWithMapboxPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}