instance property

IcecastFlutterPlatform get instance

The default instance of IcecastFlutterPlatform to use.

Defaults to MethodChannelIcecastFlutter.

Implementation

static IcecastFlutterPlatform get instance => _instance;
set instance (IcecastFlutterPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends IcecastFlutterPlatform when they register themselves.

Implementation

static set instance(IcecastFlutterPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}