instance property

JwtsonPlatform instance

The default instance of JwtsonPlatform to use.

Defaults to MethodChannelJwtson.

Implementation

static JwtsonPlatform get instance => _instance;
void instance=(JwtsonPlatform instance)

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

Implementation

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