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