instance property

CallvalidatorPlatform get instance

The default instance of CallvalidatorPlatform to use.

Defaults to MethodChannelCallvalidator.

Implementation

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

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

Implementation

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