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