instance property

The default instance of SimpleEmailSenderPlatform to use.

Defaults to MethodChannelSimpleEmailSender.

Implementation

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

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

Implementation

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