TermsOfService.fromJson constructor
Parse from a json
Implementation
factory TermsOfService.fromJson(Map<String, dynamic> json) => TermsOfService(
      text: FormattedText.fromJson(json['text']),
      minUserAge: json['min_user_age'],
      showPopup: json['show_popup'],
    );