toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'ChatContactEventsVersioned':
      return (this
              as FavoriteChatContact$Mutation$FavoriteChatContact$ChatContactEventsVersioned)
          .toJson();
    case r'FavoriteChatContactError':
      return (this
              as FavoriteChatContact$Mutation$FavoriteChatContact$FavoriteChatContactError)
          .toJson();
    default:
  }
  return _$FavoriteChatContact$Mutation$FavoriteChatContactToJson(this);
}