15 lines
465 B
Dart
15 lines
465 B
Dart
// To parse this JSON data, do
|
|
//
|
|
// final collectionDto = collectionDtoFromJson(jsonString);
|
|
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
import 'package:remever/database/database.dart';
|
|
|
|
part 'training_dto.freezed.dart';
|
|
|
|
@Freezed(copyWith: true, equal: true, fromJson: false, toJson: false)
|
|
abstract class TrainingDto with _$TrainingDto {
|
|
const factory TrainingDto({Collection? collection, required Ticket ticket}) =
|
|
_TrainingDto;
|
|
}
|