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