Mechanism constructor

Mechanism(
  1. String? id,
  2. String? mechanismUID,
  3. String? issuer,
  4. String? accountName,
  5. String? type,
  6. String? _secret,
  7. int? timeAdded, [
  8. Account? account,
])

The Mechanism model represents the two-factor way used for authentication. Encapsulates the related settings, as well as an owning Account.

Implementation

Mechanism(this.id, this.mechanismUID, this.issuer, this.accountName,
    this.type, this._secret, this.timeAdded,
    [this.account]);