toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'ChatEventsVersioned':
      return (this
              as ForwardChatItems$Mutation$ForwardChatItems$ChatEventsVersioned)
          .toJson();
    case r'ForwardChatItemsError':
      return (this
              as ForwardChatItems$Mutation$ForwardChatItems$ForwardChatItemsError)
          .toJson();
    default:
  }
  return _$ForwardChatItems$Mutation$ForwardChatItemsToJson(this);
}