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