23 lines
636 B
Dart
23 lines
636 B
Dart
// To parse this JSON data, do
|
|
//
|
|
// final collectionDto = collectionDtoFromJson(jsonString);
|
|
|
|
import 'dart:convert';
|
|
import 'dart:typed_data';
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
import 'package:remever/database/database.dart';
|
|
|
|
part 'create_ticket_dto.freezed.dart';
|
|
|
|
@Freezed(copyWith: true, equal: true, fromJson: false, toJson: false)
|
|
abstract class CreateTicketDto with _$CreateTicketDto {
|
|
const factory CreateTicketDto({
|
|
Collection? collection,
|
|
String? question,
|
|
Uint8List? questionImage,
|
|
String? answer,
|
|
Uint8List? answerImage,
|
|
bool? needRevert,
|
|
}) = _CreateTicketDto;
|
|
}
|