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