toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'ImageAttachment':
return (this
as GetAttachments$Query$ChatItem$Node$ChatMessage$RepliesTo$Original$Node$ChatMessage$Attachments$ImageAttachment)
.toJson();
case r'FileAttachment':
return (this
as GetAttachments$Query$ChatItem$Node$ChatMessage$RepliesTo$Original$Node$ChatMessage$Attachments$FileAttachment)
.toJson();
default:
}
return _$GetAttachments$Query$ChatItem$Node$ChatMessage$RepliesTo$Original$Node$ChatMessage$AttachmentsToJson(
this);
}