part of '../game.dart'; @freezed class GamePrize with _$GamePrize { const factory GamePrize({ required String id, required String gameId, required String name, required int weight, required int stock, required int maxStock, required int threshold, required Map metadata, required Game game, required String createdAt, required String updatedAt, }) = _GamePrize; factory GamePrize.empty() => GamePrize( id: '', gameId: '', name: '', weight: 0, stock: 0, maxStock: 0, threshold: 0, metadata: const {}, game: Game.empty(), createdAt: '', updatedAt: '', ); }