toJson method

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

Implementation

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