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