instance property

DtmfPlatform get instance

The default instance of DtmfPlatform to use.

Defaults to MethodChannelDtmf.

Implementation

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

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

Implementation

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