Mechanism constructor
Mechanism(])
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]);