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