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