instance property

The default instance of CloudCardFlutterPlatform to use.

Defaults to MethodChannelCloudCardFlutter.

Implementation

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

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

Implementation

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