instance property

Natl10nPlatform instance

The default instance of Natl10nPlatform to use.

Defaults to MethodChannelNatl10n.

Implementation

static Natl10nPlatform get instance => _instance;
void instance=(Natl10nPlatform instance)

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

Implementation

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