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