TermsOfService.fromJson constructor

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

Parse from a json

Implementation

TermsOfService.fromJson(Map<String, dynamic> json) {
  this.text = FormattedText.fromJson(json['text'] ?? <String, dynamic>{});
  this.minUserAge = json['min_user_age'];
  this.showPopup = json['show_popup'];
}