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