instance property

VeSdkFlutterPlatform get instance

The default instance of VeSdkFlutterPlatform to use.

Defaults to MethodChannelVeSdkFlutter.

Implementation

static VeSdkFlutterPlatform get instance => _instance;
set instance (VeSdkFlutterPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends VeSdkFlutterPlatform when they register themselves.

Implementation

static set instance(VeSdkFlutterPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}