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