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