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