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