toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "phone_number": this.phoneNumber,
    "type": this.type == null ? null : this.type.toJson(),
    "next_type": this.nextType == null ? null : this.nextType.toJson(),
    "timeout": this.timeout,
  };
}