toJson method
override
Implementation
@override
Map<String, dynamic> toJson() {
switch ($$typename) {
case r'ChatInfo':
return (this as GetMessages$Query$Chat$Items$Edges$Node$ChatInfo)
.toJson();
case r'ChatCall':
return (this as GetMessages$Query$Chat$Items$Edges$Node$ChatCall)
.toJson();
case r'ChatMessage':
return (this as GetMessages$Query$Chat$Items$Edges$Node$ChatMessage)
.toJson();
case r'ChatForward':
return (this as GetMessages$Query$Chat$Items$Edges$Node$ChatForward)
.toJson();
default:
}
return _$GetMessages$Query$Chat$Items$Edges$NodeToJson(this);
}