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