toJson method

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

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'Chat':
      return (this as CreateDialog$Mutation$CreateDialogChat$Chat).toJson();
    case r'CreateDialogChatError':
      return (this
              as CreateDialog$Mutation$CreateDialogChat$CreateDialogChatError)
          .toJson();
    default:
  }
  return _$CreateDialog$Mutation$CreateDialogChatToJson(this);
}