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