instance property

The default instance of RouteNavigatorPlatform to use.

Defaults to MethodChannelRouteNavigator.

Implementation

static RouteNavigatorPlatform get instance => _instance;
void instance=(RouteNavigatorPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends RouteNavigatorPlatform when they register themselves.

Implementation

static set instance(RouteNavigatorPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}