instance property

The default instance of FlutterRoadsdataPlatform to use.

Defaults to MethodChannelFlutterRoadsdata.

Implementation

static FlutterRoadsdataPlatform get instance => _instance;
set instance (FlutterRoadsdataPlatform instance)

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

Implementation

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