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