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