instance property

MediaReducePlatform get instance

The default instance of MediaReducePlatform to use.

Defaults to MethodChannelMediaReduce.

Implementation

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

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

Implementation

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