instance property
JwtAuthPlatform
get
instance
The default instance of JwtAuthPlatform to use.
Defaults to MethodChannelJwtAuth.
Implementation
static JwtAuthPlatform get instance => _instance;
set
instance
(JwtAuthPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends JwtAuthPlatform when they register themselves.
Implementation
static set instance(JwtAuthPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}