merged branches

This commit is contained in:
amirrezaghabeli
2025-08-12 09:11:26 +03:30
parent ba3becc709
commit a7e208a5de
58 changed files with 4584 additions and 2336 deletions
@@ -6,7 +6,7 @@ part 'tender_detail_response_model.freezed.dart';
part 'tender_detail_response_model.g.dart';
@freezed
class TenderDetailResponseModel with _$TenderDetailResponseModel {
abstract class TenderDetailResponseModel with _$TenderDetailResponseModel {
@JsonSerializable(explicitToJson: true)
const factory TenderDetailResponseModel({
required String? date,
@@ -1,5 +1,5 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
@@ -9,591 +9,320 @@ part of 'tender_detail_response_model.dart';
// FreezedGenerator
// **************************************************************************
// dart format off
T _$identity<T>(T value) => value;
final _privateConstructorUsedError = UnsupportedError(
'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models',
);
TenderDetailResponseModel _$TenderDetailResponseModelFromJson(
Map<String, dynamic> json,
) {
return _TenderDetailResponseModel.fromJson(json);
}
/// @nodoc
mixin _$TenderDetailResponseModel {
String? get date => throw _privateConstructorUsedError;
String? get status => throw _privateConstructorUsedError;
String? get title => throw _privateConstructorUsedError;
String? get id => throw _privateConstructorUsedError;
String? get approvalDate => throw _privateConstructorUsedError;
String? get submissionDate => throw _privateConstructorUsedError;
String? get client => throw _privateConstructorUsedError;
String? get deliveryLocation => throw _privateConstructorUsedError;
String? get referenceNumber => throw _privateConstructorUsedError;
String? get country => throw _privateConstructorUsedError;
String? get flagAsset => throw _privateConstructorUsedError;
String? get locationTitle => throw _privateConstructorUsedError;
String? get locationDescription => throw _privateConstructorUsedError;
String? get documentName => throw _privateConstructorUsedError;
String? get documentUrl => throw _privateConstructorUsedError;
double? get profileMatch => throw _privateConstructorUsedError;
bool? get incompleteResume => throw _privateConstructorUsedError;
String? get incompleteResumeReason => throw _privateConstructorUsedError;
String? get date; String? get status; String? get title; String? get id; String? get approvalDate; String? get submissionDate; String? get client; String? get deliveryLocation; String? get referenceNumber; String? get country; String? get flagAsset; String? get locationTitle; String? get locationDescription; String? get documentName; String? get documentUrl; double? get profileMatch; bool? get incompleteResume; String? get incompleteResumeReason;
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$TenderDetailResponseModelCopyWith<TenderDetailResponseModel> get copyWith => _$TenderDetailResponseModelCopyWithImpl<TenderDetailResponseModel>(this as TenderDetailResponseModel, _$identity);
/// Serializes this TenderDetailResponseModel to a JSON map.
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
Map<String, dynamic> toJson();
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is TenderDetailResponseModel&&(identical(other.date, date) || other.date == date)&&(identical(other.status, status) || other.status == status)&&(identical(other.title, title) || other.title == title)&&(identical(other.id, id) || other.id == id)&&(identical(other.approvalDate, approvalDate) || other.approvalDate == approvalDate)&&(identical(other.submissionDate, submissionDate) || other.submissionDate == submissionDate)&&(identical(other.client, client) || other.client == client)&&(identical(other.deliveryLocation, deliveryLocation) || other.deliveryLocation == deliveryLocation)&&(identical(other.referenceNumber, referenceNumber) || other.referenceNumber == referenceNumber)&&(identical(other.country, country) || other.country == country)&&(identical(other.flagAsset, flagAsset) || other.flagAsset == flagAsset)&&(identical(other.locationTitle, locationTitle) || other.locationTitle == locationTitle)&&(identical(other.locationDescription, locationDescription) || other.locationDescription == locationDescription)&&(identical(other.documentName, documentName) || other.documentName == documentName)&&(identical(other.documentUrl, documentUrl) || other.documentUrl == documentUrl)&&(identical(other.profileMatch, profileMatch) || other.profileMatch == profileMatch)&&(identical(other.incompleteResume, incompleteResume) || other.incompleteResume == incompleteResume)&&(identical(other.incompleteResumeReason, incompleteResumeReason) || other.incompleteResumeReason == incompleteResumeReason));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,date,status,title,id,approvalDate,submissionDate,client,deliveryLocation,referenceNumber,country,flagAsset,locationTitle,locationDescription,documentName,documentUrl,profileMatch,incompleteResume,incompleteResumeReason);
@override
String toString() {
return 'TenderDetailResponseModel(date: $date, status: $status, title: $title, id: $id, approvalDate: $approvalDate, submissionDate: $submissionDate, client: $client, deliveryLocation: $deliveryLocation, referenceNumber: $referenceNumber, country: $country, flagAsset: $flagAsset, locationTitle: $locationTitle, locationDescription: $locationDescription, documentName: $documentName, documentUrl: $documentUrl, profileMatch: $profileMatch, incompleteResume: $incompleteResume, incompleteResumeReason: $incompleteResumeReason)';
}
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
$TenderDetailResponseModelCopyWith<TenderDetailResponseModel> get copyWith =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $TenderDetailResponseModelCopyWith<$Res> {
factory $TenderDetailResponseModelCopyWith(
TenderDetailResponseModel value,
$Res Function(TenderDetailResponseModel) then,
) = _$TenderDetailResponseModelCopyWithImpl<$Res, TenderDetailResponseModel>;
@useResult
$Res call({
String? date,
String? status,
String? title,
String? id,
String? approvalDate,
String? submissionDate,
String? client,
String? deliveryLocation,
String? referenceNumber,
String? country,
String? flagAsset,
String? locationTitle,
String? locationDescription,
String? documentName,
String? documentUrl,
double? profileMatch,
bool? incompleteResume,
String? incompleteResumeReason,
});
}
abstract mixin class $TenderDetailResponseModelCopyWith<$Res> {
factory $TenderDetailResponseModelCopyWith(TenderDetailResponseModel value, $Res Function(TenderDetailResponseModel) _then) = _$TenderDetailResponseModelCopyWithImpl;
@useResult
$Res call({
String? date, String? status, String? title, String? id, String? approvalDate, String? submissionDate, String? client, String? deliveryLocation, String? referenceNumber, String? country, String? flagAsset, String? locationTitle, String? locationDescription, String? documentName, String? documentUrl, double? profileMatch, bool? incompleteResume, String? incompleteResumeReason
});
}
/// @nodoc
class _$TenderDetailResponseModelCopyWithImpl<
$Res,
$Val extends TenderDetailResponseModel
>
class _$TenderDetailResponseModelCopyWithImpl<$Res>
implements $TenderDetailResponseModelCopyWith<$Res> {
_$TenderDetailResponseModelCopyWithImpl(this._value, this._then);
_$TenderDetailResponseModelCopyWithImpl(this._self, this._then);
// ignore: unused_field
final $Val _value;
// ignore: unused_field
final $Res Function($Val) _then;
final TenderDetailResponseModel _self;
final $Res Function(TenderDetailResponseModel) _then;
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? date = freezed,
Object? status = freezed,
Object? title = freezed,
Object? id = freezed,
Object? approvalDate = freezed,
Object? submissionDate = freezed,
Object? client = freezed,
Object? deliveryLocation = freezed,
Object? referenceNumber = freezed,
Object? country = freezed,
Object? flagAsset = freezed,
Object? locationTitle = freezed,
Object? locationDescription = freezed,
Object? documentName = freezed,
Object? documentUrl = freezed,
Object? profileMatch = freezed,
Object? incompleteResume = freezed,
Object? incompleteResumeReason = freezed,
}) {
return _then(
_value.copyWith(
date:
freezed == date
? _value.date
: date // ignore: cast_nullable_to_non_nullable
as String?,
status:
freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
title:
freezed == title
? _value.title
: title // ignore: cast_nullable_to_non_nullable
as String?,
id:
freezed == id
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as String?,
approvalDate:
freezed == approvalDate
? _value.approvalDate
: approvalDate // ignore: cast_nullable_to_non_nullable
as String?,
submissionDate:
freezed == submissionDate
? _value.submissionDate
: submissionDate // ignore: cast_nullable_to_non_nullable
as String?,
client:
freezed == client
? _value.client
: client // ignore: cast_nullable_to_non_nullable
as String?,
deliveryLocation:
freezed == deliveryLocation
? _value.deliveryLocation
: deliveryLocation // ignore: cast_nullable_to_non_nullable
as String?,
referenceNumber:
freezed == referenceNumber
? _value.referenceNumber
: referenceNumber // ignore: cast_nullable_to_non_nullable
as String?,
country:
freezed == country
? _value.country
: country // ignore: cast_nullable_to_non_nullable
as String?,
flagAsset:
freezed == flagAsset
? _value.flagAsset
: flagAsset // ignore: cast_nullable_to_non_nullable
as String?,
locationTitle:
freezed == locationTitle
? _value.locationTitle
: locationTitle // ignore: cast_nullable_to_non_nullable
as String?,
locationDescription:
freezed == locationDescription
? _value.locationDescription
: locationDescription // ignore: cast_nullable_to_non_nullable
as String?,
documentName:
freezed == documentName
? _value.documentName
: documentName // ignore: cast_nullable_to_non_nullable
as String?,
documentUrl:
freezed == documentUrl
? _value.documentUrl
: documentUrl // ignore: cast_nullable_to_non_nullable
as String?,
profileMatch:
freezed == profileMatch
? _value.profileMatch
: profileMatch // ignore: cast_nullable_to_non_nullable
as double?,
incompleteResume:
freezed == incompleteResume
? _value.incompleteResume
: incompleteResume // ignore: cast_nullable_to_non_nullable
as bool?,
incompleteResumeReason:
freezed == incompleteResumeReason
? _value.incompleteResumeReason
: incompleteResumeReason // ignore: cast_nullable_to_non_nullable
as String?,
)
as $Val,
);
}
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? date = freezed,Object? status = freezed,Object? title = freezed,Object? id = freezed,Object? approvalDate = freezed,Object? submissionDate = freezed,Object? client = freezed,Object? deliveryLocation = freezed,Object? referenceNumber = freezed,Object? country = freezed,Object? flagAsset = freezed,Object? locationTitle = freezed,Object? locationDescription = freezed,Object? documentName = freezed,Object? documentUrl = freezed,Object? profileMatch = freezed,Object? incompleteResume = freezed,Object? incompleteResumeReason = freezed,}) {
return _then(_self.copyWith(
date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as String?,title: freezed == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
as String?,id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String?,approvalDate: freezed == approvalDate ? _self.approvalDate : approvalDate // ignore: cast_nullable_to_non_nullable
as String?,submissionDate: freezed == submissionDate ? _self.submissionDate : submissionDate // ignore: cast_nullable_to_non_nullable
as String?,client: freezed == client ? _self.client : client // ignore: cast_nullable_to_non_nullable
as String?,deliveryLocation: freezed == deliveryLocation ? _self.deliveryLocation : deliveryLocation // ignore: cast_nullable_to_non_nullable
as String?,referenceNumber: freezed == referenceNumber ? _self.referenceNumber : referenceNumber // ignore: cast_nullable_to_non_nullable
as String?,country: freezed == country ? _self.country : country // ignore: cast_nullable_to_non_nullable
as String?,flagAsset: freezed == flagAsset ? _self.flagAsset : flagAsset // ignore: cast_nullable_to_non_nullable
as String?,locationTitle: freezed == locationTitle ? _self.locationTitle : locationTitle // ignore: cast_nullable_to_non_nullable
as String?,locationDescription: freezed == locationDescription ? _self.locationDescription : locationDescription // ignore: cast_nullable_to_non_nullable
as String?,documentName: freezed == documentName ? _self.documentName : documentName // ignore: cast_nullable_to_non_nullable
as String?,documentUrl: freezed == documentUrl ? _self.documentUrl : documentUrl // ignore: cast_nullable_to_non_nullable
as String?,profileMatch: freezed == profileMatch ? _self.profileMatch : profileMatch // ignore: cast_nullable_to_non_nullable
as double?,incompleteResume: freezed == incompleteResume ? _self.incompleteResume : incompleteResume // ignore: cast_nullable_to_non_nullable
as bool?,incompleteResumeReason: freezed == incompleteResumeReason ? _self.incompleteResumeReason : incompleteResumeReason // ignore: cast_nullable_to_non_nullable
as String?,
));
}
/// @nodoc
abstract class _$$TenderDetailResponseModelImplCopyWith<$Res>
implements $TenderDetailResponseModelCopyWith<$Res> {
factory _$$TenderDetailResponseModelImplCopyWith(
_$TenderDetailResponseModelImpl value,
$Res Function(_$TenderDetailResponseModelImpl) then,
) = __$$TenderDetailResponseModelImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({
String? date,
String? status,
String? title,
String? id,
String? approvalDate,
String? submissionDate,
String? client,
String? deliveryLocation,
String? referenceNumber,
String? country,
String? flagAsset,
String? locationTitle,
String? locationDescription,
String? documentName,
String? documentUrl,
double? profileMatch,
bool? incompleteResume,
String? incompleteResumeReason,
});
}
/// @nodoc
class __$$TenderDetailResponseModelImplCopyWithImpl<$Res>
extends
_$TenderDetailResponseModelCopyWithImpl<
$Res,
_$TenderDetailResponseModelImpl
>
implements _$$TenderDetailResponseModelImplCopyWith<$Res> {
__$$TenderDetailResponseModelImplCopyWithImpl(
_$TenderDetailResponseModelImpl _value,
$Res Function(_$TenderDetailResponseModelImpl) _then,
) : super(_value, _then);
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline')
@override
$Res call({
Object? date = freezed,
Object? status = freezed,
Object? title = freezed,
Object? id = freezed,
Object? approvalDate = freezed,
Object? submissionDate = freezed,
Object? client = freezed,
Object? deliveryLocation = freezed,
Object? referenceNumber = freezed,
Object? country = freezed,
Object? flagAsset = freezed,
Object? locationTitle = freezed,
Object? locationDescription = freezed,
Object? documentName = freezed,
Object? documentUrl = freezed,
Object? profileMatch = freezed,
Object? incompleteResume = freezed,
Object? incompleteResumeReason = freezed,
}) {
return _then(
_$TenderDetailResponseModelImpl(
date:
freezed == date
? _value.date
: date // ignore: cast_nullable_to_non_nullable
as String?,
status:
freezed == status
? _value.status
: status // ignore: cast_nullable_to_non_nullable
as String?,
title:
freezed == title
? _value.title
: title // ignore: cast_nullable_to_non_nullable
as String?,
id:
freezed == id
? _value.id
: id // ignore: cast_nullable_to_non_nullable
as String?,
approvalDate:
freezed == approvalDate
? _value.approvalDate
: approvalDate // ignore: cast_nullable_to_non_nullable
as String?,
submissionDate:
freezed == submissionDate
? _value.submissionDate
: submissionDate // ignore: cast_nullable_to_non_nullable
as String?,
client:
freezed == client
? _value.client
: client // ignore: cast_nullable_to_non_nullable
as String?,
deliveryLocation:
freezed == deliveryLocation
? _value.deliveryLocation
: deliveryLocation // ignore: cast_nullable_to_non_nullable
as String?,
referenceNumber:
freezed == referenceNumber
? _value.referenceNumber
: referenceNumber // ignore: cast_nullable_to_non_nullable
as String?,
country:
freezed == country
? _value.country
: country // ignore: cast_nullable_to_non_nullable
as String?,
flagAsset:
freezed == flagAsset
? _value.flagAsset
: flagAsset // ignore: cast_nullable_to_non_nullable
as String?,
locationTitle:
freezed == locationTitle
? _value.locationTitle
: locationTitle // ignore: cast_nullable_to_non_nullable
as String?,
locationDescription:
freezed == locationDescription
? _value.locationDescription
: locationDescription // ignore: cast_nullable_to_non_nullable
as String?,
documentName:
freezed == documentName
? _value.documentName
: documentName // ignore: cast_nullable_to_non_nullable
as String?,
documentUrl:
freezed == documentUrl
? _value.documentUrl
: documentUrl // ignore: cast_nullable_to_non_nullable
as String?,
profileMatch:
freezed == profileMatch
? _value.profileMatch
: profileMatch // ignore: cast_nullable_to_non_nullable
as double?,
incompleteResume:
freezed == incompleteResume
? _value.incompleteResume
: incompleteResume // ignore: cast_nullable_to_non_nullable
as bool?,
incompleteResumeReason:
freezed == incompleteResumeReason
? _value.incompleteResumeReason
: incompleteResumeReason // ignore: cast_nullable_to_non_nullable
as String?,
),
);
}
/// Adds pattern-matching-related methods to [TenderDetailResponseModel].
extension TenderDetailResponseModelPatterns on TenderDetailResponseModel {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _TenderDetailResponseModel value)? $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _TenderDetailResponseModel() when $default != null:
return $default(_that);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case final Subclass2 value:
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _TenderDetailResponseModel value) $default,){
final _that = this;
switch (_that) {
case _TenderDetailResponseModel():
return $default(_that);case _:
throw StateError('Unexpected subclass');
}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case final Subclass value:
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _TenderDetailResponseModel value)? $default,){
final _that = this;
switch (_that) {
case _TenderDetailResponseModel() when $default != null:
return $default(_that);case _:
return null;
}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return orElse();
/// }
/// ```
@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String? date, String? status, String? title, String? id, String? approvalDate, String? submissionDate, String? client, String? deliveryLocation, String? referenceNumber, String? country, String? flagAsset, String? locationTitle, String? locationDescription, String? documentName, String? documentUrl, double? profileMatch, bool? incompleteResume, String? incompleteResumeReason)? $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _TenderDetailResponseModel() when $default != null:
return $default(_that.date,_that.status,_that.title,_that.id,_that.approvalDate,_that.submissionDate,_that.client,_that.deliveryLocation,_that.referenceNumber,_that.country,_that.flagAsset,_that.locationTitle,_that.locationDescription,_that.documentName,_that.documentUrl,_that.profileMatch,_that.incompleteResume,_that.incompleteResumeReason);case _:
return orElse();
}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case Subclass2(:final field2):
/// return ...;
/// }
/// ```
@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String? date, String? status, String? title, String? id, String? approvalDate, String? submissionDate, String? client, String? deliveryLocation, String? referenceNumber, String? country, String? flagAsset, String? locationTitle, String? locationDescription, String? documentName, String? documentUrl, double? profileMatch, bool? incompleteResume, String? incompleteResumeReason) $default,) {final _that = this;
switch (_that) {
case _TenderDetailResponseModel():
return $default(_that.date,_that.status,_that.title,_that.id,_that.approvalDate,_that.submissionDate,_that.client,_that.deliveryLocation,_that.referenceNumber,_that.country,_that.flagAsset,_that.locationTitle,_that.locationDescription,_that.documentName,_that.documentUrl,_that.profileMatch,_that.incompleteResume,_that.incompleteResumeReason);case _:
throw StateError('Unexpected subclass');
}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
/// case Subclass(:final field):
/// return ...;
/// case _:
/// return null;
/// }
/// ```
@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String? date, String? status, String? title, String? id, String? approvalDate, String? submissionDate, String? client, String? deliveryLocation, String? referenceNumber, String? country, String? flagAsset, String? locationTitle, String? locationDescription, String? documentName, String? documentUrl, double? profileMatch, bool? incompleteResume, String? incompleteResumeReason)? $default,) {final _that = this;
switch (_that) {
case _TenderDetailResponseModel() when $default != null:
return $default(_that.date,_that.status,_that.title,_that.id,_that.approvalDate,_that.submissionDate,_that.client,_that.deliveryLocation,_that.referenceNumber,_that.country,_that.flagAsset,_that.locationTitle,_that.locationDescription,_that.documentName,_that.documentUrl,_that.profileMatch,_that.incompleteResume,_that.incompleteResumeReason);case _:
return null;
}
}
}
/// @nodoc
@JsonSerializable(explicitToJson: true)
class _$TenderDetailResponseModelImpl implements _TenderDetailResponseModel {
const _$TenderDetailResponseModelImpl({
required this.date,
required this.status,
required this.title,
required this.id,
required this.approvalDate,
required this.submissionDate,
required this.client,
required this.deliveryLocation,
required this.referenceNumber,
required this.country,
required this.flagAsset,
required this.locationTitle,
required this.locationDescription,
required this.documentName,
required this.documentUrl,
required this.profileMatch,
required this.incompleteResume,
required this.incompleteResumeReason,
});
class _TenderDetailResponseModel implements TenderDetailResponseModel {
const _TenderDetailResponseModel({required this.date, required this.status, required this.title, required this.id, required this.approvalDate, required this.submissionDate, required this.client, required this.deliveryLocation, required this.referenceNumber, required this.country, required this.flagAsset, required this.locationTitle, required this.locationDescription, required this.documentName, required this.documentUrl, required this.profileMatch, required this.incompleteResume, required this.incompleteResumeReason});
factory _TenderDetailResponseModel.fromJson(Map<String, dynamic> json) => _$TenderDetailResponseModelFromJson(json);
factory _$TenderDetailResponseModelImpl.fromJson(Map<String, dynamic> json) =>
_$$TenderDetailResponseModelImplFromJson(json);
@override final String? date;
@override final String? status;
@override final String? title;
@override final String? id;
@override final String? approvalDate;
@override final String? submissionDate;
@override final String? client;
@override final String? deliveryLocation;
@override final String? referenceNumber;
@override final String? country;
@override final String? flagAsset;
@override final String? locationTitle;
@override final String? locationDescription;
@override final String? documentName;
@override final String? documentUrl;
@override final double? profileMatch;
@override final bool? incompleteResume;
@override final String? incompleteResumeReason;
@override
final String? date;
@override
final String? status;
@override
final String? title;
@override
final String? id;
@override
final String? approvalDate;
@override
final String? submissionDate;
@override
final String? client;
@override
final String? deliveryLocation;
@override
final String? referenceNumber;
@override
final String? country;
@override
final String? flagAsset;
@override
final String? locationTitle;
@override
final String? locationDescription;
@override
final String? documentName;
@override
final String? documentUrl;
@override
final double? profileMatch;
@override
final bool? incompleteResume;
@override
final String? incompleteResumeReason;
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$TenderDetailResponseModelCopyWith<_TenderDetailResponseModel> get copyWith => __$TenderDetailResponseModelCopyWithImpl<_TenderDetailResponseModel>(this, _$identity);
@override
String toString() {
return 'TenderDetailResponseModel(date: $date, status: $status, title: $title, id: $id, approvalDate: $approvalDate, submissionDate: $submissionDate, client: $client, deliveryLocation: $deliveryLocation, referenceNumber: $referenceNumber, country: $country, flagAsset: $flagAsset, locationTitle: $locationTitle, locationDescription: $locationDescription, documentName: $documentName, documentUrl: $documentUrl, profileMatch: $profileMatch, incompleteResume: $incompleteResume, incompleteResumeReason: $incompleteResumeReason)';
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$TenderDetailResponseModelImpl &&
(identical(other.date, date) || other.date == date) &&
(identical(other.status, status) || other.status == status) &&
(identical(other.title, title) || other.title == title) &&
(identical(other.id, id) || other.id == id) &&
(identical(other.approvalDate, approvalDate) ||
other.approvalDate == approvalDate) &&
(identical(other.submissionDate, submissionDate) ||
other.submissionDate == submissionDate) &&
(identical(other.client, client) || other.client == client) &&
(identical(other.deliveryLocation, deliveryLocation) ||
other.deliveryLocation == deliveryLocation) &&
(identical(other.referenceNumber, referenceNumber) ||
other.referenceNumber == referenceNumber) &&
(identical(other.country, country) || other.country == country) &&
(identical(other.flagAsset, flagAsset) ||
other.flagAsset == flagAsset) &&
(identical(other.locationTitle, locationTitle) ||
other.locationTitle == locationTitle) &&
(identical(other.locationDescription, locationDescription) ||
other.locationDescription == locationDescription) &&
(identical(other.documentName, documentName) ||
other.documentName == documentName) &&
(identical(other.documentUrl, documentUrl) ||
other.documentUrl == documentUrl) &&
(identical(other.profileMatch, profileMatch) ||
other.profileMatch == profileMatch) &&
(identical(other.incompleteResume, incompleteResume) ||
other.incompleteResume == incompleteResume) &&
(identical(other.incompleteResumeReason, incompleteResumeReason) ||
other.incompleteResumeReason == incompleteResumeReason));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(
runtimeType,
date,
status,
title,
id,
approvalDate,
submissionDate,
client,
deliveryLocation,
referenceNumber,
country,
flagAsset,
locationTitle,
locationDescription,
documentName,
documentUrl,
profileMatch,
incompleteResume,
incompleteResumeReason,
);
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@override
@pragma('vm:prefer-inline')
_$$TenderDetailResponseModelImplCopyWith<_$TenderDetailResponseModelImpl>
get copyWith => __$$TenderDetailResponseModelImplCopyWithImpl<
_$TenderDetailResponseModelImpl
>(this, _$identity);
@override
Map<String, dynamic> toJson() {
return _$$TenderDetailResponseModelImplToJson(this);
}
@override
Map<String, dynamic> toJson() {
return _$TenderDetailResponseModelToJson(this, );
}
abstract class _TenderDetailResponseModel implements TenderDetailResponseModel {
const factory _TenderDetailResponseModel({
required final String? date,
required final String? status,
required final String? title,
required final String? id,
required final String? approvalDate,
required final String? submissionDate,
required final String? client,
required final String? deliveryLocation,
required final String? referenceNumber,
required final String? country,
required final String? flagAsset,
required final String? locationTitle,
required final String? locationDescription,
required final String? documentName,
required final String? documentUrl,
required final double? profileMatch,
required final bool? incompleteResume,
required final String? incompleteResumeReason,
}) = _$TenderDetailResponseModelImpl;
factory _TenderDetailResponseModel.fromJson(Map<String, dynamic> json) =
_$TenderDetailResponseModelImpl.fromJson;
@override
String? get date;
@override
String? get status;
@override
String? get title;
@override
String? get id;
@override
String? get approvalDate;
@override
String? get submissionDate;
@override
String? get client;
@override
String? get deliveryLocation;
@override
String? get referenceNumber;
@override
String? get country;
@override
String? get flagAsset;
@override
String? get locationTitle;
@override
String? get locationDescription;
@override
String? get documentName;
@override
String? get documentUrl;
@override
double? get profileMatch;
@override
bool? get incompleteResume;
@override
String? get incompleteResumeReason;
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@override
@JsonKey(includeFromJson: false, includeToJson: false)
_$$TenderDetailResponseModelImplCopyWith<_$TenderDetailResponseModelImpl>
get copyWith => throw _privateConstructorUsedError;
@override
bool operator ==(Object other) {
return identical(this, other) || (other.runtimeType == runtimeType&&other is _TenderDetailResponseModel&&(identical(other.date, date) || other.date == date)&&(identical(other.status, status) || other.status == status)&&(identical(other.title, title) || other.title == title)&&(identical(other.id, id) || other.id == id)&&(identical(other.approvalDate, approvalDate) || other.approvalDate == approvalDate)&&(identical(other.submissionDate, submissionDate) || other.submissionDate == submissionDate)&&(identical(other.client, client) || other.client == client)&&(identical(other.deliveryLocation, deliveryLocation) || other.deliveryLocation == deliveryLocation)&&(identical(other.referenceNumber, referenceNumber) || other.referenceNumber == referenceNumber)&&(identical(other.country, country) || other.country == country)&&(identical(other.flagAsset, flagAsset) || other.flagAsset == flagAsset)&&(identical(other.locationTitle, locationTitle) || other.locationTitle == locationTitle)&&(identical(other.locationDescription, locationDescription) || other.locationDescription == locationDescription)&&(identical(other.documentName, documentName) || other.documentName == documentName)&&(identical(other.documentUrl, documentUrl) || other.documentUrl == documentUrl)&&(identical(other.profileMatch, profileMatch) || other.profileMatch == profileMatch)&&(identical(other.incompleteResume, incompleteResume) || other.incompleteResume == incompleteResume)&&(identical(other.incompleteResumeReason, incompleteResumeReason) || other.incompleteResumeReason == incompleteResumeReason));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,date,status,title,id,approvalDate,submissionDate,client,deliveryLocation,referenceNumber,country,flagAsset,locationTitle,locationDescription,documentName,documentUrl,profileMatch,incompleteResume,incompleteResumeReason);
@override
String toString() {
return 'TenderDetailResponseModel(date: $date, status: $status, title: $title, id: $id, approvalDate: $approvalDate, submissionDate: $submissionDate, client: $client, deliveryLocation: $deliveryLocation, referenceNumber: $referenceNumber, country: $country, flagAsset: $flagAsset, locationTitle: $locationTitle, locationDescription: $locationDescription, documentName: $documentName, documentUrl: $documentUrl, profileMatch: $profileMatch, incompleteResume: $incompleteResume, incompleteResumeReason: $incompleteResumeReason)';
}
}
/// @nodoc
abstract mixin class _$TenderDetailResponseModelCopyWith<$Res> implements $TenderDetailResponseModelCopyWith<$Res> {
factory _$TenderDetailResponseModelCopyWith(_TenderDetailResponseModel value, $Res Function(_TenderDetailResponseModel) _then) = __$TenderDetailResponseModelCopyWithImpl;
@override @useResult
$Res call({
String? date, String? status, String? title, String? id, String? approvalDate, String? submissionDate, String? client, String? deliveryLocation, String? referenceNumber, String? country, String? flagAsset, String? locationTitle, String? locationDescription, String? documentName, String? documentUrl, double? profileMatch, bool? incompleteResume, String? incompleteResumeReason
});
}
/// @nodoc
class __$TenderDetailResponseModelCopyWithImpl<$Res>
implements _$TenderDetailResponseModelCopyWith<$Res> {
__$TenderDetailResponseModelCopyWithImpl(this._self, this._then);
final _TenderDetailResponseModel _self;
final $Res Function(_TenderDetailResponseModel) _then;
/// Create a copy of TenderDetailResponseModel
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? date = freezed,Object? status = freezed,Object? title = freezed,Object? id = freezed,Object? approvalDate = freezed,Object? submissionDate = freezed,Object? client = freezed,Object? deliveryLocation = freezed,Object? referenceNumber = freezed,Object? country = freezed,Object? flagAsset = freezed,Object? locationTitle = freezed,Object? locationDescription = freezed,Object? documentName = freezed,Object? documentUrl = freezed,Object? profileMatch = freezed,Object? incompleteResume = freezed,Object? incompleteResumeReason = freezed,}) {
return _then(_TenderDetailResponseModel(
date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable
as String?,title: freezed == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
as String?,id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as String?,approvalDate: freezed == approvalDate ? _self.approvalDate : approvalDate // ignore: cast_nullable_to_non_nullable
as String?,submissionDate: freezed == submissionDate ? _self.submissionDate : submissionDate // ignore: cast_nullable_to_non_nullable
as String?,client: freezed == client ? _self.client : client // ignore: cast_nullable_to_non_nullable
as String?,deliveryLocation: freezed == deliveryLocation ? _self.deliveryLocation : deliveryLocation // ignore: cast_nullable_to_non_nullable
as String?,referenceNumber: freezed == referenceNumber ? _self.referenceNumber : referenceNumber // ignore: cast_nullable_to_non_nullable
as String?,country: freezed == country ? _self.country : country // ignore: cast_nullable_to_non_nullable
as String?,flagAsset: freezed == flagAsset ? _self.flagAsset : flagAsset // ignore: cast_nullable_to_non_nullable
as String?,locationTitle: freezed == locationTitle ? _self.locationTitle : locationTitle // ignore: cast_nullable_to_non_nullable
as String?,locationDescription: freezed == locationDescription ? _self.locationDescription : locationDescription // ignore: cast_nullable_to_non_nullable
as String?,documentName: freezed == documentName ? _self.documentName : documentName // ignore: cast_nullable_to_non_nullable
as String?,documentUrl: freezed == documentUrl ? _self.documentUrl : documentUrl // ignore: cast_nullable_to_non_nullable
as String?,profileMatch: freezed == profileMatch ? _self.profileMatch : profileMatch // ignore: cast_nullable_to_non_nullable
as double?,incompleteResume: freezed == incompleteResume ? _self.incompleteResume : incompleteResume // ignore: cast_nullable_to_non_nullable
as bool?,incompleteResumeReason: freezed == incompleteResumeReason ? _self.incompleteResumeReason : incompleteResumeReason // ignore: cast_nullable_to_non_nullable
as String?,
));
}
}
// dart format on
@@ -6,9 +6,9 @@ part of 'tender_detail_response_model.dart';
// JsonSerializableGenerator
// **************************************************************************
_$TenderDetailResponseModelImpl _$$TenderDetailResponseModelImplFromJson(
_TenderDetailResponseModel _$TenderDetailResponseModelFromJson(
Map<String, dynamic> json,
) => _$TenderDetailResponseModelImpl(
) => _TenderDetailResponseModel(
date: json['date'] as String?,
status: json['status'] as String?,
title: json['title'] as String?,
@@ -29,8 +29,8 @@ _$TenderDetailResponseModelImpl _$$TenderDetailResponseModelImplFromJson(
incompleteResumeReason: json['incompleteResumeReason'] as String?,
);
Map<String, dynamic> _$$TenderDetailResponseModelImplToJson(
_$TenderDetailResponseModelImpl instance,
Map<String, dynamic> _$TenderDetailResponseModelToJson(
_TenderDetailResponseModel instance,
) => <String, dynamic>{
'date': instance.date,
'status': instance.status,