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