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