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