toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'EventChatContactPhoneRemoved':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactPhoneRemoved)
          .toJson();
    case r'EventChatContactFavorited':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactFavorited)
          .toJson();
    case r'EventChatContactEmailAdded':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactEmailAdded)
          .toJson();
    case r'EventChatContactEmailRemoved':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactEmailRemoved)
          .toJson();
    case r'EventChatContactCreated':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactCreated)
          .toJson();
    case r'EventChatContactGroupAdded':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactGroupAdded)
          .toJson();
    case r'EventChatContactNameUpdated':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactNameUpdated)
          .toJson();
    case r'EventChatContactGroupRemoved':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactGroupRemoved)
          .toJson();
    case r'EventChatContactUserAdded':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactUserAdded)
          .toJson();
    case r'EventChatContactUserRemoved':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactUserRemoved)
          .toJson();
    case r'EventChatContactPhoneAdded':
      return (this
              as ChatContactEventsVersionedMixin$Events$EventChatContactPhoneAdded)
          .toJson();
    default:
  }
  return _$ChatContactEventsVersionedMixin$EventsToJson(this);
}