instance property

VibecallsdkPlatform get instance

The default instance of VibecallsdkPlatform to use.

Defaults to MethodChannelVibecallsdk.

Implementation

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

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

Implementation

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