toJson method

Map<String, dynamic> toJson()

Creates a new EncryptedCredentials object from json.

Implementation

Map<String, dynamic> toJson() {
  return {
    'data': data,
    'hash': hash,
    'secret': secret,
  };
}