instance property

IdwiseFlutterPlatform get instance

The default instance of IdwiseFlutterPlatform to use.

Defaults to MethodChannelIdwiseFlutter.

Implementation

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

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

Implementation

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