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