UpdateTermsOfService.fromJson constructor

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

Parse from a json

Implementation

factory UpdateTermsOfService.fromJson(Map<String, dynamic> json) =>
    UpdateTermsOfService(
      termsOfServiceId: json['terms_of_service_id'],
      termsOfService: TermsOfService.fromJson(json['terms_of_service']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );