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