instance property

FlutterCallkitPlatform get instance

The default instance of FlutterCallkitPlatform to use.

Defaults to MethodChannelFlutterCallkit.

Implementation

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

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

Implementation

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