instance property

The current default TotpMultiFactorGeneratorPlatform instance.

It will always default to MethodChannelTotpMultiFactorGenerator if no other implementation was provided.

Implementation

static TotpMultiFactorGeneratorPlatform get instance {
  _instance ??= MethodChannelTotpMultiFactorGenerator();
  return _instance!;
}
void instance=(TotpMultiFactorGeneratorPlatform instance)

Implementation

static set instance(TotpMultiFactorGeneratorPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}