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