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