// ignore_for_file: invalid_annotation_target import 'package:freezed_annotation/freezed_annotation.dart'; part 'lot.freezed.dart'; part 'lot.g.dart'; // Model for entries in the tender-details `lots` array. Only lot_id, title and // description are mapped — the fields the tender-details "Lots" section renders. // Add more fields here if the UI grows. @freezed abstract class Lot with _$Lot { const factory Lot({ @JsonKey(name: 'lot_id') required String? lotId, required String? title, required String? description, }) = _Lot; factory Lot.fromJson(Map json) => _$LotFromJson(json); }