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