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