PushMechanism.fromJson constructor
Deserializes the specified Json into an object of the PushMechanism object.
Implementation
factory PushMechanism.fromJson(Map<String, dynamic> json,
[Account? account]) {
return PushMechanism(
json['id'],
json['mechanismUID'],
json['issuer'],
json['accountName'],
json['type'],
json['secret'],
json['registrationEndpoint'],
json['authenticationEndpoint'],
json['timeAdded'],
account);
}