toJson method

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

Implementation

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