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