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