instance property

MailerSelectedPlatform get instance

The default instance of MailerSelectedPlatform to use.

Defaults to MethodChannelMailerSelected.

Implementation

static MailerSelectedPlatform get instance => _instance;
set instance (MailerSelectedPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends MailerSelectedPlatform when they register themselves.

Implementation

static set instance(MailerSelectedPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}