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