toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'type'] = this.type;
    json[r'event'] = this.event;
    json[r'command'] = this.command;
    json[r'response_url'] = this.responseUrl;
  return json;
}