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