AuthorizationStateWaitRegistration.fromJson constructor

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

Parse from a json

Implementation

AuthorizationStateWaitRegistration.fromJson(Map<String, dynamic> json) {
  this.termsOfService = TermsOfService.fromJson(
      json['terms_of_service'] ?? <String, dynamic>{});
  this.extra = json['@extra'];
}