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