instance property

The default instance of SimpleAudioTrimmerPlatform to use.

Defaults to MethodChannelSimpleAudioTrimmer.

Implementation

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

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

Implementation

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