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