toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "location": this.location == null ? null : this.location.toJson(),
    "zoom": this.zoom,
    "width": this.width,
    "height": this.height,
    "scale": this.scale,
    "chat_id": this.chatId,
    "@extra": this.extra,
  };
}