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