toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "text": this.text == null ? null : this.text.toJson(),
    "min_user_age": this.minUserAge,
    "show_popup": this.showPopup,
  };
}