AuthorizationStateWaitPassword.fromJson constructor

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

Parse from a json

Implementation

factory AuthorizationStateWaitPassword.fromJson(Map<String, dynamic> json) =>
    AuthorizationStateWaitPassword(
      passwordHint: json['password_hint'],
      hasRecoveryEmailAddress: json['has_recovery_email_address'],
      hasPassportData: json['has_passport_data'],
      recoveryEmailAddressPattern: json['recovery_email_address_pattern'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );