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