// To parse this JSON data, do // // final collectionDto = collectionDtoFromJson(jsonString); import 'dart:typed_data'; import 'package:freezed_annotation/freezed_annotation.dart'; part 'crud_collection_dto.freezed.dart'; @Freezed(copyWith: true, equal: true, fromJson: false, toJson: false) abstract class CrudCollectionDto with _$CrudCollectionDto { const factory CrudCollectionDto({ required String desc, required String title, required bool isPublic, String? avatar, }) = _CrudCollectionDto; }