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