RecoveryEmailAddress.fromJson constructor

RecoveryEmailAddress.fromJson(
  1. Map<String, dynamic> json
)

Parses a RecoveryEmailAddress from TDLib JSON.

Implementation

factory RecoveryEmailAddress.fromJson(Map<String, dynamic> json) =>
    RecoveryEmailAddress(
      recoveryEmailAddress: _readString(json['recovery_email_address']),
      extra: json['@extra'],
      clientId: _readClientId(json['@client_id']),
    );