|
|
|
|
@@ -166,7 +166,7 @@ as List<Result>?,
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$Result {
|
|
|
|
|
|
|
|
|
|
int? get id; Steward? get steward; dynamic get guild; Product? get product; String? get key; String? get create_date; String? get modify_date; bool? get trash; String? get kill_house_name; String? get kill_house_mobile; String? get kill_house_vet_name; String? get kill_house_vet_mobile; String? get province; String? get city; String? get driver_name; String? get driver_mobile; dynamic get car; String? get pelak; int? get number_of_carcasses; int? get weight_of_carcasses; String? get bar_image; String? get date; bool? get temporary_trash; bool? get temporary_deleted; String? get created_by; String? get modified_by;
|
|
|
|
|
int? get id; Steward? get steward; dynamic get guild; Product? get product; String? get key; String? get createDate; String? get modifyDate; bool? get trash; String? get killHouseName; String? get killHouseMobile; String? get killHouseVetName; String? get killHouseVetMobile; String? get province; String? get city; String? get driverName; String? get driverMobile; dynamic get car; String? get pelak; int? get numberOfCarcasses; double? get weightOfCarcasses; String? get barImage; String? get date; bool? get temporaryTrash; bool? get temporaryDeleted; String? get createdBy; String? get modifiedBy;
|
|
|
|
|
/// Create a copy of Result
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@@ -179,16 +179,16 @@ $ResultCopyWith<Result> get copyWith => _$ResultCopyWithImpl<Result>(this as Res
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is Result&&(identical(other.id, id) || other.id == id)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.guild, guild)&&(identical(other.product, product) || other.product == product)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.kill_house_name, kill_house_name) || other.kill_house_name == kill_house_name)&&(identical(other.kill_house_mobile, kill_house_mobile) || other.kill_house_mobile == kill_house_mobile)&&(identical(other.kill_house_vet_name, kill_house_vet_name) || other.kill_house_vet_name == kill_house_vet_name)&&(identical(other.kill_house_vet_mobile, kill_house_vet_mobile) || other.kill_house_vet_mobile == kill_house_vet_mobile)&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.driver_name, driver_name) || other.driver_name == driver_name)&&(identical(other.driver_mobile, driver_mobile) || other.driver_mobile == driver_mobile)&&const DeepCollectionEquality().equals(other.car, car)&&(identical(other.pelak, pelak) || other.pelak == pelak)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.bar_image, bar_image) || other.bar_image == bar_image)&&(identical(other.date, date) || other.date == date)&&(identical(other.temporary_trash, temporary_trash) || other.temporary_trash == temporary_trash)&&(identical(other.temporary_deleted, temporary_deleted) || other.temporary_deleted == temporary_deleted)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is Result&&(identical(other.id, id) || other.id == id)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.guild, guild)&&(identical(other.product, product) || other.product == product)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.killHouseName, killHouseName) || other.killHouseName == killHouseName)&&(identical(other.killHouseMobile, killHouseMobile) || other.killHouseMobile == killHouseMobile)&&(identical(other.killHouseVetName, killHouseVetName) || other.killHouseVetName == killHouseVetName)&&(identical(other.killHouseVetMobile, killHouseVetMobile) || other.killHouseVetMobile == killHouseVetMobile)&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.driverName, driverName) || other.driverName == driverName)&&(identical(other.driverMobile, driverMobile) || other.driverMobile == driverMobile)&&const DeepCollectionEquality().equals(other.car, car)&&(identical(other.pelak, pelak) || other.pelak == pelak)&&(identical(other.numberOfCarcasses, numberOfCarcasses) || other.numberOfCarcasses == numberOfCarcasses)&&(identical(other.weightOfCarcasses, weightOfCarcasses) || other.weightOfCarcasses == weightOfCarcasses)&&(identical(other.barImage, barImage) || other.barImage == barImage)&&(identical(other.date, date) || other.date == date)&&(identical(other.temporaryTrash, temporaryTrash) || other.temporaryTrash == temporaryTrash)&&(identical(other.temporaryDeleted, temporaryDeleted) || other.temporaryDeleted == temporaryDeleted)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hashAll([runtimeType,id,steward,const DeepCollectionEquality().hash(guild),product,key,create_date,modify_date,trash,kill_house_name,kill_house_mobile,kill_house_vet_name,kill_house_vet_mobile,province,city,driver_name,driver_mobile,const DeepCollectionEquality().hash(car),pelak,number_of_carcasses,weight_of_carcasses,bar_image,date,temporary_trash,temporary_deleted,created_by,modified_by]);
|
|
|
|
|
int get hashCode => Object.hashAll([runtimeType,id,steward,const DeepCollectionEquality().hash(guild),product,key,createDate,modifyDate,trash,killHouseName,killHouseMobile,killHouseVetName,killHouseVetMobile,province,city,driverName,driverMobile,const DeepCollectionEquality().hash(car),pelak,numberOfCarcasses,weightOfCarcasses,barImage,date,temporaryTrash,temporaryDeleted,createdBy,modifiedBy]);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Result(id: $id, steward: $steward, guild: $guild, product: $product, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, kill_house_name: $kill_house_name, kill_house_mobile: $kill_house_mobile, kill_house_vet_name: $kill_house_vet_name, kill_house_vet_mobile: $kill_house_vet_mobile, province: $province, city: $city, driver_name: $driver_name, driver_mobile: $driver_mobile, car: $car, pelak: $pelak, number_of_carcasses: $number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, bar_image: $bar_image, date: $date, temporary_trash: $temporary_trash, temporary_deleted: $temporary_deleted, created_by: $created_by, modified_by: $modified_by)';
|
|
|
|
|
return 'Result(id: $id, steward: $steward, guild: $guild, product: $product, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, killHouseName: $killHouseName, killHouseMobile: $killHouseMobile, killHouseVetName: $killHouseVetName, killHouseVetMobile: $killHouseVetMobile, province: $province, city: $city, driverName: $driverName, driverMobile: $driverMobile, car: $car, pelak: $pelak, numberOfCarcasses: $numberOfCarcasses, weightOfCarcasses: $weightOfCarcasses, barImage: $barImage, date: $date, temporaryTrash: $temporaryTrash, temporaryDeleted: $temporaryDeleted, createdBy: $createdBy, modifiedBy: $modifiedBy)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -199,7 +199,7 @@ abstract mixin class $ResultCopyWith<$Res> {
|
|
|
|
|
factory $ResultCopyWith(Result value, $Res Function(Result) _then) = _$ResultCopyWithImpl;
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
int? id, Steward? steward, dynamic guild, Product? product, String? key, String? create_date, String? modify_date, bool? trash, String? kill_house_name, String? kill_house_mobile, String? kill_house_vet_name, String? kill_house_vet_mobile, String? province, String? city, String? driver_name, String? driver_mobile, dynamic car, String? pelak, int? number_of_carcasses, int? weight_of_carcasses, String? bar_image, String? date, bool? temporary_trash, bool? temporary_deleted, String? created_by, String? modified_by
|
|
|
|
|
int? id, Steward? steward, dynamic guild, Product? product, String? key, String? createDate, String? modifyDate, bool? trash, String? killHouseName, String? killHouseMobile, String? killHouseVetName, String? killHouseVetMobile, String? province, String? city, String? driverName, String? driverMobile, dynamic car, String? pelak, int? numberOfCarcasses, double? weightOfCarcasses, String? barImage, String? date, bool? temporaryTrash, bool? temporaryDeleted, String? createdBy, String? modifiedBy
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -216,34 +216,34 @@ class _$ResultCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Result
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? steward = freezed,Object? guild = freezed,Object? product = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? kill_house_name = freezed,Object? kill_house_mobile = freezed,Object? kill_house_vet_name = freezed,Object? kill_house_vet_mobile = freezed,Object? province = freezed,Object? city = freezed,Object? driver_name = freezed,Object? driver_mobile = freezed,Object? car = freezed,Object? pelak = freezed,Object? number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? bar_image = freezed,Object? date = freezed,Object? temporary_trash = freezed,Object? temporary_deleted = freezed,Object? created_by = freezed,Object? modified_by = freezed,}) {
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? steward = freezed,Object? guild = freezed,Object? product = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? killHouseName = freezed,Object? killHouseMobile = freezed,Object? killHouseVetName = freezed,Object? killHouseVetMobile = freezed,Object? province = freezed,Object? city = freezed,Object? driverName = freezed,Object? driverMobile = freezed,Object? car = freezed,Object? pelak = freezed,Object? numberOfCarcasses = freezed,Object? weightOfCarcasses = freezed,Object? barImage = freezed,Object? date = freezed,Object? temporaryTrash = freezed,Object? temporaryDeleted = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,}) {
|
|
|
|
|
return _then(_self.copyWith(
|
|
|
|
|
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Steward?,guild: freezed == guild ? _self.guild : guild // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as dynamic,product: freezed == product ? _self.product : product // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Product?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,kill_house_name: freezed == kill_house_name ? _self.kill_house_name : kill_house_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,kill_house_mobile: freezed == kill_house_mobile ? _self.kill_house_mobile : kill_house_mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,kill_house_vet_name: freezed == kill_house_vet_name ? _self.kill_house_vet_name : kill_house_vet_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,kill_house_vet_mobile: freezed == kill_house_vet_mobile ? _self.kill_house_vet_mobile : kill_house_vet_mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,killHouseName: freezed == killHouseName ? _self.killHouseName : killHouseName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,killHouseMobile: freezed == killHouseMobile ? _self.killHouseMobile : killHouseMobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,killHouseVetName: freezed == killHouseVetName ? _self.killHouseVetName : killHouseVetName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,killHouseVetMobile: freezed == killHouseVetMobile ? _self.killHouseVetMobile : killHouseVetMobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driver_name: freezed == driver_name ? _self.driver_name : driver_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driver_mobile: freezed == driver_mobile ? _self.driver_mobile : driver_mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driverName: freezed == driverName ? _self.driverName : driverName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driverMobile: freezed == driverMobile ? _self.driverMobile : driverMobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,car: freezed == car ? _self.car : car // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as dynamic,pelak: freezed == pelak ? _self.pelak : pelak // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,bar_image: freezed == bar_image ? _self.bar_image : bar_image // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,numberOfCarcasses: freezed == numberOfCarcasses ? _self.numberOfCarcasses : numberOfCarcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,weightOfCarcasses: freezed == weightOfCarcasses ? _self.weightOfCarcasses : weightOfCarcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as double?,barImage: freezed == barImage ? _self.barImage : barImage // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,temporary_trash: freezed == temporary_trash ? _self.temporary_trash : temporary_trash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,temporary_deleted: freezed == temporary_deleted ? _self.temporary_deleted : temporary_deleted // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,temporaryTrash: freezed == temporaryTrash ? _self.temporaryTrash : temporaryTrash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,temporaryDeleted: freezed == temporaryDeleted ? _self.temporaryDeleted : temporaryDeleted // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -279,7 +279,7 @@ $ProductCopyWith<$Res>? get product {
|
|
|
|
|
@JsonSerializable()
|
|
|
|
|
|
|
|
|
|
class _Result implements Result {
|
|
|
|
|
const _Result({this.id, this.steward, this.guild, this.product, this.key, this.create_date, this.modify_date, this.trash, this.kill_house_name, this.kill_house_mobile, this.kill_house_vet_name, this.kill_house_vet_mobile, this.province, this.city, this.driver_name, this.driver_mobile, this.car, this.pelak, this.number_of_carcasses, this.weight_of_carcasses, this.bar_image, this.date, this.temporary_trash, this.temporary_deleted, this.created_by, this.modified_by});
|
|
|
|
|
const _Result({this.id, this.steward, this.guild, this.product, this.key, this.createDate, this.modifyDate, this.trash, this.killHouseName, this.killHouseMobile, this.killHouseVetName, this.killHouseVetMobile, this.province, this.city, this.driverName, this.driverMobile, this.car, this.pelak, this.numberOfCarcasses, this.weightOfCarcasses, this.barImage, this.date, this.temporaryTrash, this.temporaryDeleted, this.createdBy, this.modifiedBy});
|
|
|
|
|
factory _Result.fromJson(Map<String, dynamic> json) => _$ResultFromJson(json);
|
|
|
|
|
|
|
|
|
|
@override final int? id;
|
|
|
|
|
@@ -287,27 +287,27 @@ class _Result implements Result {
|
|
|
|
|
@override final dynamic guild;
|
|
|
|
|
@override final Product? product;
|
|
|
|
|
@override final String? key;
|
|
|
|
|
@override final String? create_date;
|
|
|
|
|
@override final String? modify_date;
|
|
|
|
|
@override final String? createDate;
|
|
|
|
|
@override final String? modifyDate;
|
|
|
|
|
@override final bool? trash;
|
|
|
|
|
@override final String? kill_house_name;
|
|
|
|
|
@override final String? kill_house_mobile;
|
|
|
|
|
@override final String? kill_house_vet_name;
|
|
|
|
|
@override final String? kill_house_vet_mobile;
|
|
|
|
|
@override final String? killHouseName;
|
|
|
|
|
@override final String? killHouseMobile;
|
|
|
|
|
@override final String? killHouseVetName;
|
|
|
|
|
@override final String? killHouseVetMobile;
|
|
|
|
|
@override final String? province;
|
|
|
|
|
@override final String? city;
|
|
|
|
|
@override final String? driver_name;
|
|
|
|
|
@override final String? driver_mobile;
|
|
|
|
|
@override final String? driverName;
|
|
|
|
|
@override final String? driverMobile;
|
|
|
|
|
@override final dynamic car;
|
|
|
|
|
@override final String? pelak;
|
|
|
|
|
@override final int? number_of_carcasses;
|
|
|
|
|
@override final int? weight_of_carcasses;
|
|
|
|
|
@override final String? bar_image;
|
|
|
|
|
@override final int? numberOfCarcasses;
|
|
|
|
|
@override final double? weightOfCarcasses;
|
|
|
|
|
@override final String? barImage;
|
|
|
|
|
@override final String? date;
|
|
|
|
|
@override final bool? temporary_trash;
|
|
|
|
|
@override final bool? temporary_deleted;
|
|
|
|
|
@override final String? created_by;
|
|
|
|
|
@override final String? modified_by;
|
|
|
|
|
@override final bool? temporaryTrash;
|
|
|
|
|
@override final bool? temporaryDeleted;
|
|
|
|
|
@override final String? createdBy;
|
|
|
|
|
@override final String? modifiedBy;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Result
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@@ -322,16 +322,16 @@ Map<String, dynamic> toJson() {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Result&&(identical(other.id, id) || other.id == id)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.guild, guild)&&(identical(other.product, product) || other.product == product)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.kill_house_name, kill_house_name) || other.kill_house_name == kill_house_name)&&(identical(other.kill_house_mobile, kill_house_mobile) || other.kill_house_mobile == kill_house_mobile)&&(identical(other.kill_house_vet_name, kill_house_vet_name) || other.kill_house_vet_name == kill_house_vet_name)&&(identical(other.kill_house_vet_mobile, kill_house_vet_mobile) || other.kill_house_vet_mobile == kill_house_vet_mobile)&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.driver_name, driver_name) || other.driver_name == driver_name)&&(identical(other.driver_mobile, driver_mobile) || other.driver_mobile == driver_mobile)&&const DeepCollectionEquality().equals(other.car, car)&&(identical(other.pelak, pelak) || other.pelak == pelak)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.bar_image, bar_image) || other.bar_image == bar_image)&&(identical(other.date, date) || other.date == date)&&(identical(other.temporary_trash, temporary_trash) || other.temporary_trash == temporary_trash)&&(identical(other.temporary_deleted, temporary_deleted) || other.temporary_deleted == temporary_deleted)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Result&&(identical(other.id, id) || other.id == id)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.guild, guild)&&(identical(other.product, product) || other.product == product)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.killHouseName, killHouseName) || other.killHouseName == killHouseName)&&(identical(other.killHouseMobile, killHouseMobile) || other.killHouseMobile == killHouseMobile)&&(identical(other.killHouseVetName, killHouseVetName) || other.killHouseVetName == killHouseVetName)&&(identical(other.killHouseVetMobile, killHouseVetMobile) || other.killHouseVetMobile == killHouseVetMobile)&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.driverName, driverName) || other.driverName == driverName)&&(identical(other.driverMobile, driverMobile) || other.driverMobile == driverMobile)&&const DeepCollectionEquality().equals(other.car, car)&&(identical(other.pelak, pelak) || other.pelak == pelak)&&(identical(other.numberOfCarcasses, numberOfCarcasses) || other.numberOfCarcasses == numberOfCarcasses)&&(identical(other.weightOfCarcasses, weightOfCarcasses) || other.weightOfCarcasses == weightOfCarcasses)&&(identical(other.barImage, barImage) || other.barImage == barImage)&&(identical(other.date, date) || other.date == date)&&(identical(other.temporaryTrash, temporaryTrash) || other.temporaryTrash == temporaryTrash)&&(identical(other.temporaryDeleted, temporaryDeleted) || other.temporaryDeleted == temporaryDeleted)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hashAll([runtimeType,id,steward,const DeepCollectionEquality().hash(guild),product,key,create_date,modify_date,trash,kill_house_name,kill_house_mobile,kill_house_vet_name,kill_house_vet_mobile,province,city,driver_name,driver_mobile,const DeepCollectionEquality().hash(car),pelak,number_of_carcasses,weight_of_carcasses,bar_image,date,temporary_trash,temporary_deleted,created_by,modified_by]);
|
|
|
|
|
int get hashCode => Object.hashAll([runtimeType,id,steward,const DeepCollectionEquality().hash(guild),product,key,createDate,modifyDate,trash,killHouseName,killHouseMobile,killHouseVetName,killHouseVetMobile,province,city,driverName,driverMobile,const DeepCollectionEquality().hash(car),pelak,numberOfCarcasses,weightOfCarcasses,barImage,date,temporaryTrash,temporaryDeleted,createdBy,modifiedBy]);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Result(id: $id, steward: $steward, guild: $guild, product: $product, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, kill_house_name: $kill_house_name, kill_house_mobile: $kill_house_mobile, kill_house_vet_name: $kill_house_vet_name, kill_house_vet_mobile: $kill_house_vet_mobile, province: $province, city: $city, driver_name: $driver_name, driver_mobile: $driver_mobile, car: $car, pelak: $pelak, number_of_carcasses: $number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, bar_image: $bar_image, date: $date, temporary_trash: $temporary_trash, temporary_deleted: $temporary_deleted, created_by: $created_by, modified_by: $modified_by)';
|
|
|
|
|
return 'Result(id: $id, steward: $steward, guild: $guild, product: $product, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, killHouseName: $killHouseName, killHouseMobile: $killHouseMobile, killHouseVetName: $killHouseVetName, killHouseVetMobile: $killHouseVetMobile, province: $province, city: $city, driverName: $driverName, driverMobile: $driverMobile, car: $car, pelak: $pelak, numberOfCarcasses: $numberOfCarcasses, weightOfCarcasses: $weightOfCarcasses, barImage: $barImage, date: $date, temporaryTrash: $temporaryTrash, temporaryDeleted: $temporaryDeleted, createdBy: $createdBy, modifiedBy: $modifiedBy)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -342,7 +342,7 @@ abstract mixin class _$ResultCopyWith<$Res> implements $ResultCopyWith<$Res> {
|
|
|
|
|
factory _$ResultCopyWith(_Result value, $Res Function(_Result) _then) = __$ResultCopyWithImpl;
|
|
|
|
|
@override @useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
int? id, Steward? steward, dynamic guild, Product? product, String? key, String? create_date, String? modify_date, bool? trash, String? kill_house_name, String? kill_house_mobile, String? kill_house_vet_name, String? kill_house_vet_mobile, String? province, String? city, String? driver_name, String? driver_mobile, dynamic car, String? pelak, int? number_of_carcasses, int? weight_of_carcasses, String? bar_image, String? date, bool? temporary_trash, bool? temporary_deleted, String? created_by, String? modified_by
|
|
|
|
|
int? id, Steward? steward, dynamic guild, Product? product, String? key, String? createDate, String? modifyDate, bool? trash, String? killHouseName, String? killHouseMobile, String? killHouseVetName, String? killHouseVetMobile, String? province, String? city, String? driverName, String? driverMobile, dynamic car, String? pelak, int? numberOfCarcasses, double? weightOfCarcasses, String? barImage, String? date, bool? temporaryTrash, bool? temporaryDeleted, String? createdBy, String? modifiedBy
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -359,34 +359,34 @@ class __$ResultCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Result
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? steward = freezed,Object? guild = freezed,Object? product = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? kill_house_name = freezed,Object? kill_house_mobile = freezed,Object? kill_house_vet_name = freezed,Object? kill_house_vet_mobile = freezed,Object? province = freezed,Object? city = freezed,Object? driver_name = freezed,Object? driver_mobile = freezed,Object? car = freezed,Object? pelak = freezed,Object? number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? bar_image = freezed,Object? date = freezed,Object? temporary_trash = freezed,Object? temporary_deleted = freezed,Object? created_by = freezed,Object? modified_by = freezed,}) {
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? steward = freezed,Object? guild = freezed,Object? product = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? killHouseName = freezed,Object? killHouseMobile = freezed,Object? killHouseVetName = freezed,Object? killHouseVetMobile = freezed,Object? province = freezed,Object? city = freezed,Object? driverName = freezed,Object? driverMobile = freezed,Object? car = freezed,Object? pelak = freezed,Object? numberOfCarcasses = freezed,Object? weightOfCarcasses = freezed,Object? barImage = freezed,Object? date = freezed,Object? temporaryTrash = freezed,Object? temporaryDeleted = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,}) {
|
|
|
|
|
return _then(_Result(
|
|
|
|
|
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Steward?,guild: freezed == guild ? _self.guild : guild // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as dynamic,product: freezed == product ? _self.product : product // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Product?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,kill_house_name: freezed == kill_house_name ? _self.kill_house_name : kill_house_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,kill_house_mobile: freezed == kill_house_mobile ? _self.kill_house_mobile : kill_house_mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,kill_house_vet_name: freezed == kill_house_vet_name ? _self.kill_house_vet_name : kill_house_vet_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,kill_house_vet_mobile: freezed == kill_house_vet_mobile ? _self.kill_house_vet_mobile : kill_house_vet_mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,killHouseName: freezed == killHouseName ? _self.killHouseName : killHouseName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,killHouseMobile: freezed == killHouseMobile ? _self.killHouseMobile : killHouseMobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,killHouseVetName: freezed == killHouseVetName ? _self.killHouseVetName : killHouseVetName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,killHouseVetMobile: freezed == killHouseVetMobile ? _self.killHouseVetMobile : killHouseVetMobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driver_name: freezed == driver_name ? _self.driver_name : driver_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driver_mobile: freezed == driver_mobile ? _self.driver_mobile : driver_mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driverName: freezed == driverName ? _self.driverName : driverName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,driverMobile: freezed == driverMobile ? _self.driverMobile : driverMobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,car: freezed == car ? _self.car : car // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as dynamic,pelak: freezed == pelak ? _self.pelak : pelak // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,bar_image: freezed == bar_image ? _self.bar_image : bar_image // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,numberOfCarcasses: freezed == numberOfCarcasses ? _self.numberOfCarcasses : numberOfCarcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,weightOfCarcasses: freezed == weightOfCarcasses ? _self.weightOfCarcasses : weightOfCarcasses // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as double?,barImage: freezed == barImage ? _self.barImage : barImage // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,temporary_trash: freezed == temporary_trash ? _self.temporary_trash : temporary_trash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,temporary_deleted: freezed == temporary_deleted ? _self.temporary_deleted : temporary_deleted // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,temporaryTrash: freezed == temporaryTrash ? _self.temporaryTrash : temporaryTrash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,temporaryDeleted: freezed == temporaryDeleted ? _self.temporaryDeleted : temporaryDeleted // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -422,7 +422,7 @@ $ProductCopyWith<$Res>? get product {
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$Steward {
|
|
|
|
|
|
|
|
|
|
User? get user; String? get guilds_name; bool? get steward; dynamic get allocation_limit; Address? get address; String? get license_number; String? get type_activity; String? get area_activity; String? get guilds_id; String? get create_date;
|
|
|
|
|
User? get user; String? get guildsName; bool? get steward; int? get allocationLimit; Address? get address; String? get licenseNumber; String? get typeActivity; String? get areaActivity; String? get guildsId; String? get createDate;
|
|
|
|
|
/// Create a copy of Steward
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@@ -435,16 +435,16 @@ $StewardCopyWith<Steward> get copyWith => _$StewardCopyWithImpl<Steward>(this as
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is Steward&&(identical(other.user, user) || other.user == user)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.address, address) || other.address == address)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.create_date, create_date) || other.create_date == create_date));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is Steward&&(identical(other.user, user) || other.user == user)&&(identical(other.guildsName, guildsName) || other.guildsName == guildsName)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.allocationLimit, allocationLimit) || other.allocationLimit == allocationLimit)&&(identical(other.address, address) || other.address == address)&&(identical(other.licenseNumber, licenseNumber) || other.licenseNumber == licenseNumber)&&(identical(other.typeActivity, typeActivity) || other.typeActivity == typeActivity)&&(identical(other.areaActivity, areaActivity) || other.areaActivity == areaActivity)&&(identical(other.guildsId, guildsId) || other.guildsId == guildsId)&&(identical(other.createDate, createDate) || other.createDate == createDate));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,user,guilds_name,steward,const DeepCollectionEquality().hash(allocation_limit),address,license_number,type_activity,area_activity,guilds_id,create_date);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,user,guildsName,steward,allocationLimit,address,licenseNumber,typeActivity,areaActivity,guildsId,createDate);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Steward(user: $user, guilds_name: $guilds_name, steward: $steward, allocation_limit: $allocation_limit, address: $address, license_number: $license_number, type_activity: $type_activity, area_activity: $area_activity, guilds_id: $guilds_id, create_date: $create_date)';
|
|
|
|
|
return 'Steward(user: $user, guildsName: $guildsName, steward: $steward, allocationLimit: $allocationLimit, address: $address, licenseNumber: $licenseNumber, typeActivity: $typeActivity, areaActivity: $areaActivity, guildsId: $guildsId, createDate: $createDate)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -455,7 +455,7 @@ abstract mixin class $StewardCopyWith<$Res> {
|
|
|
|
|
factory $StewardCopyWith(Steward value, $Res Function(Steward) _then) = _$StewardCopyWithImpl;
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
User? user, String? guilds_name, bool? steward, dynamic allocation_limit, Address? address, String? license_number, String? type_activity, String? area_activity, String? guilds_id, String? create_date
|
|
|
|
|
User? user, String? guildsName, bool? steward, int? allocationLimit, Address? address, String? licenseNumber, String? typeActivity, String? areaActivity, String? guildsId, String? createDate
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -472,18 +472,18 @@ class _$StewardCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Steward
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? user = freezed,Object? guilds_name = freezed,Object? steward = freezed,Object? allocation_limit = freezed,Object? address = freezed,Object? license_number = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? guilds_id = freezed,Object? create_date = freezed,}) {
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? user = freezed,Object? guildsName = freezed,Object? steward = freezed,Object? allocationLimit = freezed,Object? address = freezed,Object? licenseNumber = freezed,Object? typeActivity = freezed,Object? areaActivity = freezed,Object? guildsId = freezed,Object? createDate = freezed,}) {
|
|
|
|
|
return _then(_self.copyWith(
|
|
|
|
|
user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as User?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as User?,guildsName: freezed == guildsName ? _self.guildsName : guildsName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as dynamic,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Address?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,allocationLimit: freezed == allocationLimit ? _self.allocationLimit : allocationLimit // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Address?,licenseNumber: freezed == licenseNumber ? _self.licenseNumber : licenseNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,typeActivity: freezed == typeActivity ? _self.typeActivity : typeActivity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,areaActivity: freezed == areaActivity ? _self.areaActivity : areaActivity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,guildsId: freezed == guildsId ? _self.guildsId : guildsId // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -519,19 +519,19 @@ $AddressCopyWith<$Res>? get address {
|
|
|
|
|
@JsonSerializable()
|
|
|
|
|
|
|
|
|
|
class _Steward implements Steward {
|
|
|
|
|
const _Steward({this.user, this.guilds_name, this.steward, this.allocation_limit, this.address, this.license_number, this.type_activity, this.area_activity, this.guilds_id, this.create_date});
|
|
|
|
|
const _Steward({this.user, this.guildsName, this.steward, this.allocationLimit, this.address, this.licenseNumber, this.typeActivity, this.areaActivity, this.guildsId, this.createDate});
|
|
|
|
|
factory _Steward.fromJson(Map<String, dynamic> json) => _$StewardFromJson(json);
|
|
|
|
|
|
|
|
|
|
@override final User? user;
|
|
|
|
|
@override final String? guilds_name;
|
|
|
|
|
@override final String? guildsName;
|
|
|
|
|
@override final bool? steward;
|
|
|
|
|
@override final dynamic allocation_limit;
|
|
|
|
|
@override final int? allocationLimit;
|
|
|
|
|
@override final Address? address;
|
|
|
|
|
@override final String? license_number;
|
|
|
|
|
@override final String? type_activity;
|
|
|
|
|
@override final String? area_activity;
|
|
|
|
|
@override final String? guilds_id;
|
|
|
|
|
@override final String? create_date;
|
|
|
|
|
@override final String? licenseNumber;
|
|
|
|
|
@override final String? typeActivity;
|
|
|
|
|
@override final String? areaActivity;
|
|
|
|
|
@override final String? guildsId;
|
|
|
|
|
@override final String? createDate;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Steward
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@@ -546,16 +546,16 @@ Map<String, dynamic> toJson() {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Steward&&(identical(other.user, user) || other.user == user)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.address, address) || other.address == address)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.create_date, create_date) || other.create_date == create_date));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Steward&&(identical(other.user, user) || other.user == user)&&(identical(other.guildsName, guildsName) || other.guildsName == guildsName)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.allocationLimit, allocationLimit) || other.allocationLimit == allocationLimit)&&(identical(other.address, address) || other.address == address)&&(identical(other.licenseNumber, licenseNumber) || other.licenseNumber == licenseNumber)&&(identical(other.typeActivity, typeActivity) || other.typeActivity == typeActivity)&&(identical(other.areaActivity, areaActivity) || other.areaActivity == areaActivity)&&(identical(other.guildsId, guildsId) || other.guildsId == guildsId)&&(identical(other.createDate, createDate) || other.createDate == createDate));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,user,guilds_name,steward,const DeepCollectionEquality().hash(allocation_limit),address,license_number,type_activity,area_activity,guilds_id,create_date);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,user,guildsName,steward,allocationLimit,address,licenseNumber,typeActivity,areaActivity,guildsId,createDate);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Steward(user: $user, guilds_name: $guilds_name, steward: $steward, allocation_limit: $allocation_limit, address: $address, license_number: $license_number, type_activity: $type_activity, area_activity: $area_activity, guilds_id: $guilds_id, create_date: $create_date)';
|
|
|
|
|
return 'Steward(user: $user, guildsName: $guildsName, steward: $steward, allocationLimit: $allocationLimit, address: $address, licenseNumber: $licenseNumber, typeActivity: $typeActivity, areaActivity: $areaActivity, guildsId: $guildsId, createDate: $createDate)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -566,7 +566,7 @@ abstract mixin class _$StewardCopyWith<$Res> implements $StewardCopyWith<$Res> {
|
|
|
|
|
factory _$StewardCopyWith(_Steward value, $Res Function(_Steward) _then) = __$StewardCopyWithImpl;
|
|
|
|
|
@override @useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
User? user, String? guilds_name, bool? steward, dynamic allocation_limit, Address? address, String? license_number, String? type_activity, String? area_activity, String? guilds_id, String? create_date
|
|
|
|
|
User? user, String? guildsName, bool? steward, int? allocationLimit, Address? address, String? licenseNumber, String? typeActivity, String? areaActivity, String? guildsId, String? createDate
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -583,18 +583,18 @@ class __$StewardCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Steward
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? user = freezed,Object? guilds_name = freezed,Object? steward = freezed,Object? allocation_limit = freezed,Object? address = freezed,Object? license_number = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? guilds_id = freezed,Object? create_date = freezed,}) {
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? user = freezed,Object? guildsName = freezed,Object? steward = freezed,Object? allocationLimit = freezed,Object? address = freezed,Object? licenseNumber = freezed,Object? typeActivity = freezed,Object? areaActivity = freezed,Object? guildsId = freezed,Object? createDate = freezed,}) {
|
|
|
|
|
return _then(_Steward(
|
|
|
|
|
user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as User?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as User?,guildsName: freezed == guildsName ? _self.guildsName : guildsName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as dynamic,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Address?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,allocationLimit: freezed == allocationLimit ? _self.allocationLimit : allocationLimit // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Address?,licenseNumber: freezed == licenseNumber ? _self.licenseNumber : licenseNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,typeActivity: freezed == typeActivity ? _self.typeActivity : typeActivity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,areaActivity: freezed == areaActivity ? _self.areaActivity : areaActivity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,guildsId: freezed == guildsId ? _self.guildsId : guildsId // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -630,7 +630,7 @@ $AddressCopyWith<$Res>? get address {
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$User {
|
|
|
|
|
|
|
|
|
|
String? get fullname; String? get first_name; String? get last_name; int? get base_order; String? get mobile; String? get national_id; String? get national_code; String? get key; City? get city; String? get unit_name; String? get unit_national_id; String? get unit_registration_number; String? get unit_economical_number; String? get unit_province; String? get unit_city; String? get unit_postal_code; String? get unit_address;
|
|
|
|
|
String? get fullname; String? get firstName; String? get lastName; int? get baseOrder; String? get mobile; String? get nationalId; String? get nationalCode; String? get key; City? get city; String? get unitName; String? get unitNationalId; String? get unitRegistrationNumber; String? get unitEconomicalNumber; String? get unitProvince; String? get unitCity; String? get unitPostalCode; String? get unitAddress;
|
|
|
|
|
/// Create a copy of User
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@@ -643,16 +643,16 @@ $UserCopyWith<User> get copyWith => _$UserCopyWithImpl<User>(this as User, _$ide
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.first_name, first_name) || other.first_name == first_name)&&(identical(other.last_name, last_name) || other.last_name == last_name)&&(identical(other.base_order, base_order) || other.base_order == base_order)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.national_id, national_id) || other.national_id == national_id)&&(identical(other.national_code, national_code) || other.national_code == national_code)&&(identical(other.key, key) || other.key == key)&&(identical(other.city, city) || other.city == city)&&(identical(other.unit_name, unit_name) || other.unit_name == unit_name)&&(identical(other.unit_national_id, unit_national_id) || other.unit_national_id == unit_national_id)&&(identical(other.unit_registration_number, unit_registration_number) || other.unit_registration_number == unit_registration_number)&&(identical(other.unit_economical_number, unit_economical_number) || other.unit_economical_number == unit_economical_number)&&(identical(other.unit_province, unit_province) || other.unit_province == unit_province)&&(identical(other.unit_city, unit_city) || other.unit_city == unit_city)&&(identical(other.unit_postal_code, unit_postal_code) || other.unit_postal_code == unit_postal_code)&&(identical(other.unit_address, unit_address) || other.unit_address == unit_address));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.baseOrder, baseOrder) || other.baseOrder == baseOrder)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.nationalId, nationalId) || other.nationalId == nationalId)&&(identical(other.nationalCode, nationalCode) || other.nationalCode == nationalCode)&&(identical(other.key, key) || other.key == key)&&(identical(other.city, city) || other.city == city)&&(identical(other.unitName, unitName) || other.unitName == unitName)&&(identical(other.unitNationalId, unitNationalId) || other.unitNationalId == unitNationalId)&&(identical(other.unitRegistrationNumber, unitRegistrationNumber) || other.unitRegistrationNumber == unitRegistrationNumber)&&(identical(other.unitEconomicalNumber, unitEconomicalNumber) || other.unitEconomicalNumber == unitEconomicalNumber)&&(identical(other.unitProvince, unitProvince) || other.unitProvince == unitProvince)&&(identical(other.unitCity, unitCity) || other.unitCity == unitCity)&&(identical(other.unitPostalCode, unitPostalCode) || other.unitPostalCode == unitPostalCode)&&(identical(other.unitAddress, unitAddress) || other.unitAddress == unitAddress));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,fullname,first_name,last_name,base_order,mobile,national_id,national_code,key,city,unit_name,unit_national_id,unit_registration_number,unit_economical_number,unit_province,unit_city,unit_postal_code,unit_address);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,fullname,firstName,lastName,baseOrder,mobile,nationalId,nationalCode,key,city,unitName,unitNationalId,unitRegistrationNumber,unitEconomicalNumber,unitProvince,unitCity,unitPostalCode,unitAddress);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'User(fullname: $fullname, first_name: $first_name, last_name: $last_name, base_order: $base_order, mobile: $mobile, national_id: $national_id, national_code: $national_code, key: $key, city: $city, unit_name: $unit_name, unit_national_id: $unit_national_id, unit_registration_number: $unit_registration_number, unit_economical_number: $unit_economical_number, unit_province: $unit_province, unit_city: $unit_city, unit_postal_code: $unit_postal_code, unit_address: $unit_address)';
|
|
|
|
|
return 'User(fullname: $fullname, firstName: $firstName, lastName: $lastName, baseOrder: $baseOrder, mobile: $mobile, nationalId: $nationalId, nationalCode: $nationalCode, key: $key, city: $city, unitName: $unitName, unitNationalId: $unitNationalId, unitRegistrationNumber: $unitRegistrationNumber, unitEconomicalNumber: $unitEconomicalNumber, unitProvince: $unitProvince, unitCity: $unitCity, unitPostalCode: $unitPostalCode, unitAddress: $unitAddress)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -663,7 +663,7 @@ abstract mixin class $UserCopyWith<$Res> {
|
|
|
|
|
factory $UserCopyWith(User value, $Res Function(User) _then) = _$UserCopyWithImpl;
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
String? fullname, String? first_name, String? last_name, int? base_order, String? mobile, String? national_id, String? national_code, String? key, City? city, String? unit_name, String? unit_national_id, String? unit_registration_number, String? unit_economical_number, String? unit_province, String? unit_city, String? unit_postal_code, String? unit_address
|
|
|
|
|
String? fullname, String? firstName, String? lastName, int? baseOrder, String? mobile, String? nationalId, String? nationalCode, String? key, City? city, String? unitName, String? unitNationalId, String? unitRegistrationNumber, String? unitEconomicalNumber, String? unitProvince, String? unitCity, String? unitPostalCode, String? unitAddress
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -680,25 +680,25 @@ class _$UserCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of User
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? fullname = freezed,Object? first_name = freezed,Object? last_name = freezed,Object? base_order = freezed,Object? mobile = freezed,Object? national_id = freezed,Object? national_code = freezed,Object? key = freezed,Object? city = freezed,Object? unit_name = freezed,Object? unit_national_id = freezed,Object? unit_registration_number = freezed,Object? unit_economical_number = freezed,Object? unit_province = freezed,Object? unit_city = freezed,Object? unit_postal_code = freezed,Object? unit_address = freezed,}) {
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? fullname = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? baseOrder = freezed,Object? mobile = freezed,Object? nationalId = freezed,Object? nationalCode = freezed,Object? key = freezed,Object? city = freezed,Object? unitName = freezed,Object? unitNationalId = freezed,Object? unitRegistrationNumber = freezed,Object? unitEconomicalNumber = freezed,Object? unitProvince = freezed,Object? unitCity = freezed,Object? unitPostalCode = freezed,Object? unitAddress = freezed,}) {
|
|
|
|
|
return _then(_self.copyWith(
|
|
|
|
|
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,first_name: freezed == first_name ? _self.first_name : first_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,last_name: freezed == last_name ? _self.last_name : last_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,base_order: freezed == base_order ? _self.base_order : base_order // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,baseOrder: freezed == baseOrder ? _self.baseOrder : baseOrder // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,national_id: freezed == national_id ? _self.national_id : national_id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,national_code: freezed == national_code ? _self.national_code : national_code // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,nationalId: freezed == nationalId ? _self.nationalId : nationalId // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,nationalCode: freezed == nationalCode ? _self.nationalCode : nationalCode // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as City?,unit_name: freezed == unit_name ? _self.unit_name : unit_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_national_id: freezed == unit_national_id ? _self.unit_national_id : unit_national_id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_registration_number: freezed == unit_registration_number ? _self.unit_registration_number : unit_registration_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_economical_number: freezed == unit_economical_number ? _self.unit_economical_number : unit_economical_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_province: freezed == unit_province ? _self.unit_province : unit_province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_city: freezed == unit_city ? _self.unit_city : unit_city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_postal_code: freezed == unit_postal_code ? _self.unit_postal_code : unit_postal_code // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_address: freezed == unit_address ? _self.unit_address : unit_address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as City?,unitName: freezed == unitName ? _self.unitName : unitName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitNationalId: freezed == unitNationalId ? _self.unitNationalId : unitNationalId // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitRegistrationNumber: freezed == unitRegistrationNumber ? _self.unitRegistrationNumber : unitRegistrationNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitEconomicalNumber: freezed == unitEconomicalNumber ? _self.unitEconomicalNumber : unitEconomicalNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitProvince: freezed == unitProvince ? _self.unitProvince : unitProvince // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitCity: freezed == unitCity ? _self.unitCity : unitCity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitPostalCode: freezed == unitPostalCode ? _self.unitPostalCode : unitPostalCode // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitAddress: freezed == unitAddress ? _self.unitAddress : unitAddress // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -722,26 +722,26 @@ $CityCopyWith<$Res>? get city {
|
|
|
|
|
@JsonSerializable()
|
|
|
|
|
|
|
|
|
|
class _User implements User {
|
|
|
|
|
const _User({this.fullname, this.first_name, this.last_name, this.base_order, this.mobile, this.national_id, this.national_code, this.key, this.city, this.unit_name, this.unit_national_id, this.unit_registration_number, this.unit_economical_number, this.unit_province, this.unit_city, this.unit_postal_code, this.unit_address});
|
|
|
|
|
const _User({this.fullname, this.firstName, this.lastName, this.baseOrder, this.mobile, this.nationalId, this.nationalCode, this.key, this.city, this.unitName, this.unitNationalId, this.unitRegistrationNumber, this.unitEconomicalNumber, this.unitProvince, this.unitCity, this.unitPostalCode, this.unitAddress});
|
|
|
|
|
factory _User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);
|
|
|
|
|
|
|
|
|
|
@override final String? fullname;
|
|
|
|
|
@override final String? first_name;
|
|
|
|
|
@override final String? last_name;
|
|
|
|
|
@override final int? base_order;
|
|
|
|
|
@override final String? firstName;
|
|
|
|
|
@override final String? lastName;
|
|
|
|
|
@override final int? baseOrder;
|
|
|
|
|
@override final String? mobile;
|
|
|
|
|
@override final String? national_id;
|
|
|
|
|
@override final String? national_code;
|
|
|
|
|
@override final String? nationalId;
|
|
|
|
|
@override final String? nationalCode;
|
|
|
|
|
@override final String? key;
|
|
|
|
|
@override final City? city;
|
|
|
|
|
@override final String? unit_name;
|
|
|
|
|
@override final String? unit_national_id;
|
|
|
|
|
@override final String? unit_registration_number;
|
|
|
|
|
@override final String? unit_economical_number;
|
|
|
|
|
@override final String? unit_province;
|
|
|
|
|
@override final String? unit_city;
|
|
|
|
|
@override final String? unit_postal_code;
|
|
|
|
|
@override final String? unit_address;
|
|
|
|
|
@override final String? unitName;
|
|
|
|
|
@override final String? unitNationalId;
|
|
|
|
|
@override final String? unitRegistrationNumber;
|
|
|
|
|
@override final String? unitEconomicalNumber;
|
|
|
|
|
@override final String? unitProvince;
|
|
|
|
|
@override final String? unitCity;
|
|
|
|
|
@override final String? unitPostalCode;
|
|
|
|
|
@override final String? unitAddress;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of User
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@@ -756,16 +756,16 @@ Map<String, dynamic> toJson() {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.first_name, first_name) || other.first_name == first_name)&&(identical(other.last_name, last_name) || other.last_name == last_name)&&(identical(other.base_order, base_order) || other.base_order == base_order)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.national_id, national_id) || other.national_id == national_id)&&(identical(other.national_code, national_code) || other.national_code == national_code)&&(identical(other.key, key) || other.key == key)&&(identical(other.city, city) || other.city == city)&&(identical(other.unit_name, unit_name) || other.unit_name == unit_name)&&(identical(other.unit_national_id, unit_national_id) || other.unit_national_id == unit_national_id)&&(identical(other.unit_registration_number, unit_registration_number) || other.unit_registration_number == unit_registration_number)&&(identical(other.unit_economical_number, unit_economical_number) || other.unit_economical_number == unit_economical_number)&&(identical(other.unit_province, unit_province) || other.unit_province == unit_province)&&(identical(other.unit_city, unit_city) || other.unit_city == unit_city)&&(identical(other.unit_postal_code, unit_postal_code) || other.unit_postal_code == unit_postal_code)&&(identical(other.unit_address, unit_address) || other.unit_address == unit_address));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.baseOrder, baseOrder) || other.baseOrder == baseOrder)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.nationalId, nationalId) || other.nationalId == nationalId)&&(identical(other.nationalCode, nationalCode) || other.nationalCode == nationalCode)&&(identical(other.key, key) || other.key == key)&&(identical(other.city, city) || other.city == city)&&(identical(other.unitName, unitName) || other.unitName == unitName)&&(identical(other.unitNationalId, unitNationalId) || other.unitNationalId == unitNationalId)&&(identical(other.unitRegistrationNumber, unitRegistrationNumber) || other.unitRegistrationNumber == unitRegistrationNumber)&&(identical(other.unitEconomicalNumber, unitEconomicalNumber) || other.unitEconomicalNumber == unitEconomicalNumber)&&(identical(other.unitProvince, unitProvince) || other.unitProvince == unitProvince)&&(identical(other.unitCity, unitCity) || other.unitCity == unitCity)&&(identical(other.unitPostalCode, unitPostalCode) || other.unitPostalCode == unitPostalCode)&&(identical(other.unitAddress, unitAddress) || other.unitAddress == unitAddress));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,fullname,first_name,last_name,base_order,mobile,national_id,national_code,key,city,unit_name,unit_national_id,unit_registration_number,unit_economical_number,unit_province,unit_city,unit_postal_code,unit_address);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,fullname,firstName,lastName,baseOrder,mobile,nationalId,nationalCode,key,city,unitName,unitNationalId,unitRegistrationNumber,unitEconomicalNumber,unitProvince,unitCity,unitPostalCode,unitAddress);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'User(fullname: $fullname, first_name: $first_name, last_name: $last_name, base_order: $base_order, mobile: $mobile, national_id: $national_id, national_code: $national_code, key: $key, city: $city, unit_name: $unit_name, unit_national_id: $unit_national_id, unit_registration_number: $unit_registration_number, unit_economical_number: $unit_economical_number, unit_province: $unit_province, unit_city: $unit_city, unit_postal_code: $unit_postal_code, unit_address: $unit_address)';
|
|
|
|
|
return 'User(fullname: $fullname, firstName: $firstName, lastName: $lastName, baseOrder: $baseOrder, mobile: $mobile, nationalId: $nationalId, nationalCode: $nationalCode, key: $key, city: $city, unitName: $unitName, unitNationalId: $unitNationalId, unitRegistrationNumber: $unitRegistrationNumber, unitEconomicalNumber: $unitEconomicalNumber, unitProvince: $unitProvince, unitCity: $unitCity, unitPostalCode: $unitPostalCode, unitAddress: $unitAddress)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -776,7 +776,7 @@ abstract mixin class _$UserCopyWith<$Res> implements $UserCopyWith<$Res> {
|
|
|
|
|
factory _$UserCopyWith(_User value, $Res Function(_User) _then) = __$UserCopyWithImpl;
|
|
|
|
|
@override @useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
String? fullname, String? first_name, String? last_name, int? base_order, String? mobile, String? national_id, String? national_code, String? key, City? city, String? unit_name, String? unit_national_id, String? unit_registration_number, String? unit_economical_number, String? unit_province, String? unit_city, String? unit_postal_code, String? unit_address
|
|
|
|
|
String? fullname, String? firstName, String? lastName, int? baseOrder, String? mobile, String? nationalId, String? nationalCode, String? key, City? city, String? unitName, String? unitNationalId, String? unitRegistrationNumber, String? unitEconomicalNumber, String? unitProvince, String? unitCity, String? unitPostalCode, String? unitAddress
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -793,25 +793,25 @@ class __$UserCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of User
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? fullname = freezed,Object? first_name = freezed,Object? last_name = freezed,Object? base_order = freezed,Object? mobile = freezed,Object? national_id = freezed,Object? national_code = freezed,Object? key = freezed,Object? city = freezed,Object? unit_name = freezed,Object? unit_national_id = freezed,Object? unit_registration_number = freezed,Object? unit_economical_number = freezed,Object? unit_province = freezed,Object? unit_city = freezed,Object? unit_postal_code = freezed,Object? unit_address = freezed,}) {
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? fullname = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? baseOrder = freezed,Object? mobile = freezed,Object? nationalId = freezed,Object? nationalCode = freezed,Object? key = freezed,Object? city = freezed,Object? unitName = freezed,Object? unitNationalId = freezed,Object? unitRegistrationNumber = freezed,Object? unitEconomicalNumber = freezed,Object? unitProvince = freezed,Object? unitCity = freezed,Object? unitPostalCode = freezed,Object? unitAddress = freezed,}) {
|
|
|
|
|
return _then(_User(
|
|
|
|
|
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,first_name: freezed == first_name ? _self.first_name : first_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,last_name: freezed == last_name ? _self.last_name : last_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,base_order: freezed == base_order ? _self.base_order : base_order // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,baseOrder: freezed == baseOrder ? _self.baseOrder : baseOrder // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,national_id: freezed == national_id ? _self.national_id : national_id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,national_code: freezed == national_code ? _self.national_code : national_code // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,nationalId: freezed == nationalId ? _self.nationalId : nationalId // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,nationalCode: freezed == nationalCode ? _self.nationalCode : nationalCode // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as City?,unit_name: freezed == unit_name ? _self.unit_name : unit_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_national_id: freezed == unit_national_id ? _self.unit_national_id : unit_national_id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_registration_number: freezed == unit_registration_number ? _self.unit_registration_number : unit_registration_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_economical_number: freezed == unit_economical_number ? _self.unit_economical_number : unit_economical_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_province: freezed == unit_province ? _self.unit_province : unit_province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_city: freezed == unit_city ? _self.unit_city : unit_city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_postal_code: freezed == unit_postal_code ? _self.unit_postal_code : unit_postal_code // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unit_address: freezed == unit_address ? _self.unit_address : unit_address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as City?,unitName: freezed == unitName ? _self.unitName : unitName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitNationalId: freezed == unitNationalId ? _self.unitNationalId : unitNationalId // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitRegistrationNumber: freezed == unitRegistrationNumber ? _self.unitRegistrationNumber : unitRegistrationNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitEconomicalNumber: freezed == unitEconomicalNumber ? _self.unitEconomicalNumber : unitEconomicalNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitProvince: freezed == unitProvince ? _self.unitProvince : unitProvince // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitCity: freezed == unitCity ? _self.unitCity : unitCity // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitPostalCode: freezed == unitPostalCode ? _self.unitPostalCode : unitPostalCode // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,unitAddress: freezed == unitAddress ? _self.unitAddress : unitAddress // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -835,7 +835,7 @@ $CityCopyWith<$Res>? get city {
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$City {
|
|
|
|
|
|
|
|
|
|
int? get id; String? get key; String? get create_date; String? get modify_date; bool? get trash; int? get province_id_foreign_key; int? get city_id_key; String? get name; int? get product_price; bool? get province_center; int? get city_number; String? get city_name; int? get province_number; String? get province_name; String? get created_by; String? get modified_by; int? get province;
|
|
|
|
|
int? get id; String? get key; String? get createDate; String? get modifyDate; bool? get trash; int? get provinceIdForeignKey; int? get cityIdKey; String? get name; double? get productPrice; bool? get provinceCenter; int? get cityNumber; String? get cityName; int? get provinceNumber; String? get provinceName; String? get createdBy; String? get modifiedBy; int? get province;
|
|
|
|
|
/// Create a copy of City
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@@ -848,16 +848,16 @@ $CityCopyWith<City> get copyWith => _$CityCopyWithImpl<City>(this as City, _$ide
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is City&&(identical(other.id, id) || other.id == id)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.province_id_foreign_key, province_id_foreign_key) || other.province_id_foreign_key == province_id_foreign_key)&&(identical(other.city_id_key, city_id_key) || other.city_id_key == city_id_key)&&(identical(other.name, name) || other.name == name)&&(identical(other.product_price, product_price) || other.product_price == product_price)&&(identical(other.province_center, province_center) || other.province_center == province_center)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&(identical(other.province, province) || other.province == province));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is City&&(identical(other.id, id) || other.id == id)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.provinceIdForeignKey, provinceIdForeignKey) || other.provinceIdForeignKey == provinceIdForeignKey)&&(identical(other.cityIdKey, cityIdKey) || other.cityIdKey == cityIdKey)&&(identical(other.name, name) || other.name == name)&&(identical(other.productPrice, productPrice) || other.productPrice == productPrice)&&(identical(other.provinceCenter, provinceCenter) || other.provinceCenter == provinceCenter)&&(identical(other.cityNumber, cityNumber) || other.cityNumber == cityNumber)&&(identical(other.cityName, cityName) || other.cityName == cityName)&&(identical(other.provinceNumber, provinceNumber) || other.provinceNumber == provinceNumber)&&(identical(other.provinceName, provinceName) || other.provinceName == provinceName)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy)&&(identical(other.province, province) || other.province == province));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,id,key,create_date,modify_date,trash,province_id_foreign_key,city_id_key,name,product_price,province_center,city_number,city_name,province_number,province_name,created_by,modified_by,province);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,id,key,createDate,modifyDate,trash,provinceIdForeignKey,cityIdKey,name,productPrice,provinceCenter,cityNumber,cityName,provinceNumber,provinceName,createdBy,modifiedBy,province);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'City(id: $id, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, province_id_foreign_key: $province_id_foreign_key, city_id_key: $city_id_key, name: $name, product_price: $product_price, province_center: $province_center, city_number: $city_number, city_name: $city_name, province_number: $province_number, province_name: $province_name, created_by: $created_by, modified_by: $modified_by, province: $province)';
|
|
|
|
|
return 'City(id: $id, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, provinceIdForeignKey: $provinceIdForeignKey, cityIdKey: $cityIdKey, name: $name, productPrice: $productPrice, provinceCenter: $provinceCenter, cityNumber: $cityNumber, cityName: $cityName, provinceNumber: $provinceNumber, provinceName: $provinceName, createdBy: $createdBy, modifiedBy: $modifiedBy, province: $province)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -868,7 +868,7 @@ abstract mixin class $CityCopyWith<$Res> {
|
|
|
|
|
factory $CityCopyWith(City value, $Res Function(City) _then) = _$CityCopyWithImpl;
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
int? id, String? key, String? create_date, String? modify_date, bool? trash, int? province_id_foreign_key, int? city_id_key, String? name, int? product_price, bool? province_center, int? city_number, String? city_name, int? province_number, String? province_name, String? created_by, String? modified_by, int? province
|
|
|
|
|
int? id, String? key, String? createDate, String? modifyDate, bool? trash, int? provinceIdForeignKey, int? cityIdKey, String? name, double? productPrice, bool? provinceCenter, int? cityNumber, String? cityName, int? provinceNumber, String? provinceName, String? createdBy, String? modifiedBy, int? province
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -885,24 +885,24 @@ class _$CityCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of City
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? province_id_foreign_key = freezed,Object? city_id_key = freezed,Object? name = freezed,Object? product_price = freezed,Object? province_center = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? province = freezed,}) {
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? provinceIdForeignKey = freezed,Object? cityIdKey = freezed,Object? name = freezed,Object? productPrice = freezed,Object? provinceCenter = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? province = freezed,}) {
|
|
|
|
|
return _then(_self.copyWith(
|
|
|
|
|
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,province_id_foreign_key: freezed == province_id_foreign_key ? _self.province_id_foreign_key : province_id_foreign_key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,city_id_key: freezed == city_id_key ? _self.city_id_key : city_id_key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,provinceIdForeignKey: freezed == provinceIdForeignKey ? _self.provinceIdForeignKey : provinceIdForeignKey // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,cityIdKey: freezed == cityIdKey ? _self.cityIdKey : cityIdKey // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,product_price: freezed == product_price ? _self.product_price : product_price // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,province_center: freezed == province_center ? _self.province_center : province_center // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,productPrice: freezed == productPrice ? _self.productPrice : productPrice // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as double?,provinceCenter: freezed == provinceCenter ? _self.provinceCenter : provinceCenter // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,cityNumber: freezed == cityNumber ? _self.cityNumber : cityNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,cityName: freezed == cityName ? _self.cityName : cityName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,provinceNumber: freezed == provinceNumber ? _self.provinceNumber : provinceNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,provinceName: freezed == provinceName ? _self.provinceName : provinceName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,
|
|
|
|
|
));
|
|
|
|
|
@@ -915,25 +915,25 @@ as int?,
|
|
|
|
|
@JsonSerializable()
|
|
|
|
|
|
|
|
|
|
class _City implements City {
|
|
|
|
|
const _City({this.id, this.key, this.create_date, this.modify_date, this.trash, this.province_id_foreign_key, this.city_id_key, this.name, this.product_price, this.province_center, this.city_number, this.city_name, this.province_number, this.province_name, this.created_by, this.modified_by, this.province});
|
|
|
|
|
const _City({this.id, this.key, this.createDate, this.modifyDate, this.trash, this.provinceIdForeignKey, this.cityIdKey, this.name, this.productPrice, this.provinceCenter, this.cityNumber, this.cityName, this.provinceNumber, this.provinceName, this.createdBy, this.modifiedBy, this.province});
|
|
|
|
|
factory _City.fromJson(Map<String, dynamic> json) => _$CityFromJson(json);
|
|
|
|
|
|
|
|
|
|
@override final int? id;
|
|
|
|
|
@override final String? key;
|
|
|
|
|
@override final String? create_date;
|
|
|
|
|
@override final String? modify_date;
|
|
|
|
|
@override final String? createDate;
|
|
|
|
|
@override final String? modifyDate;
|
|
|
|
|
@override final bool? trash;
|
|
|
|
|
@override final int? province_id_foreign_key;
|
|
|
|
|
@override final int? city_id_key;
|
|
|
|
|
@override final int? provinceIdForeignKey;
|
|
|
|
|
@override final int? cityIdKey;
|
|
|
|
|
@override final String? name;
|
|
|
|
|
@override final int? product_price;
|
|
|
|
|
@override final bool? province_center;
|
|
|
|
|
@override final int? city_number;
|
|
|
|
|
@override final String? city_name;
|
|
|
|
|
@override final int? province_number;
|
|
|
|
|
@override final String? province_name;
|
|
|
|
|
@override final String? created_by;
|
|
|
|
|
@override final String? modified_by;
|
|
|
|
|
@override final double? productPrice;
|
|
|
|
|
@override final bool? provinceCenter;
|
|
|
|
|
@override final int? cityNumber;
|
|
|
|
|
@override final String? cityName;
|
|
|
|
|
@override final int? provinceNumber;
|
|
|
|
|
@override final String? provinceName;
|
|
|
|
|
@override final String? createdBy;
|
|
|
|
|
@override final String? modifiedBy;
|
|
|
|
|
@override final int? province;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of City
|
|
|
|
|
@@ -949,16 +949,16 @@ Map<String, dynamic> toJson() {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _City&&(identical(other.id, id) || other.id == id)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.province_id_foreign_key, province_id_foreign_key) || other.province_id_foreign_key == province_id_foreign_key)&&(identical(other.city_id_key, city_id_key) || other.city_id_key == city_id_key)&&(identical(other.name, name) || other.name == name)&&(identical(other.product_price, product_price) || other.product_price == product_price)&&(identical(other.province_center, province_center) || other.province_center == province_center)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&(identical(other.province, province) || other.province == province));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _City&&(identical(other.id, id) || other.id == id)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.provinceIdForeignKey, provinceIdForeignKey) || other.provinceIdForeignKey == provinceIdForeignKey)&&(identical(other.cityIdKey, cityIdKey) || other.cityIdKey == cityIdKey)&&(identical(other.name, name) || other.name == name)&&(identical(other.productPrice, productPrice) || other.productPrice == productPrice)&&(identical(other.provinceCenter, provinceCenter) || other.provinceCenter == provinceCenter)&&(identical(other.cityNumber, cityNumber) || other.cityNumber == cityNumber)&&(identical(other.cityName, cityName) || other.cityName == cityName)&&(identical(other.provinceNumber, provinceNumber) || other.provinceNumber == provinceNumber)&&(identical(other.provinceName, provinceName) || other.provinceName == provinceName)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy)&&(identical(other.province, province) || other.province == province));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,id,key,create_date,modify_date,trash,province_id_foreign_key,city_id_key,name,product_price,province_center,city_number,city_name,province_number,province_name,created_by,modified_by,province);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,id,key,createDate,modifyDate,trash,provinceIdForeignKey,cityIdKey,name,productPrice,provinceCenter,cityNumber,cityName,provinceNumber,provinceName,createdBy,modifiedBy,province);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'City(id: $id, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, province_id_foreign_key: $province_id_foreign_key, city_id_key: $city_id_key, name: $name, product_price: $product_price, province_center: $province_center, city_number: $city_number, city_name: $city_name, province_number: $province_number, province_name: $province_name, created_by: $created_by, modified_by: $modified_by, province: $province)';
|
|
|
|
|
return 'City(id: $id, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, provinceIdForeignKey: $provinceIdForeignKey, cityIdKey: $cityIdKey, name: $name, productPrice: $productPrice, provinceCenter: $provinceCenter, cityNumber: $cityNumber, cityName: $cityName, provinceNumber: $provinceNumber, provinceName: $provinceName, createdBy: $createdBy, modifiedBy: $modifiedBy, province: $province)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -969,7 +969,7 @@ abstract mixin class _$CityCopyWith<$Res> implements $CityCopyWith<$Res> {
|
|
|
|
|
factory _$CityCopyWith(_City value, $Res Function(_City) _then) = __$CityCopyWithImpl;
|
|
|
|
|
@override @useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
int? id, String? key, String? create_date, String? modify_date, bool? trash, int? province_id_foreign_key, int? city_id_key, String? name, int? product_price, bool? province_center, int? city_number, String? city_name, int? province_number, String? province_name, String? created_by, String? modified_by, int? province
|
|
|
|
|
int? id, String? key, String? createDate, String? modifyDate, bool? trash, int? provinceIdForeignKey, int? cityIdKey, String? name, double? productPrice, bool? provinceCenter, int? cityNumber, String? cityName, int? provinceNumber, String? provinceName, String? createdBy, String? modifiedBy, int? province
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -986,24 +986,24 @@ class __$CityCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of City
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? province_id_foreign_key = freezed,Object? city_id_key = freezed,Object? name = freezed,Object? product_price = freezed,Object? province_center = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? province = freezed,}) {
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? provinceIdForeignKey = freezed,Object? cityIdKey = freezed,Object? name = freezed,Object? productPrice = freezed,Object? provinceCenter = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? province = freezed,}) {
|
|
|
|
|
return _then(_City(
|
|
|
|
|
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,province_id_foreign_key: freezed == province_id_foreign_key ? _self.province_id_foreign_key : province_id_foreign_key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,city_id_key: freezed == city_id_key ? _self.city_id_key : city_id_key // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,provinceIdForeignKey: freezed == provinceIdForeignKey ? _self.provinceIdForeignKey : provinceIdForeignKey // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,cityIdKey: freezed == cityIdKey ? _self.cityIdKey : cityIdKey // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,product_price: freezed == product_price ? _self.product_price : product_price // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,province_center: freezed == province_center ? _self.province_center : province_center // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,productPrice: freezed == productPrice ? _self.productPrice : productPrice // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as double?,provinceCenter: freezed == provinceCenter ? _self.provinceCenter : provinceCenter // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as bool?,cityNumber: freezed == cityNumber ? _self.cityNumber : cityNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,cityName: freezed == cityName ? _self.cityName : cityName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,provinceNumber: freezed == provinceNumber ? _self.provinceNumber : provinceNumber // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,provinceName: freezed == provinceName ? _self.provinceName : provinceName // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as int?,
|
|
|
|
|
));
|
|
|
|
|
@@ -1016,7 +1016,7 @@ as int?,
|
|
|
|
|
/// @nodoc
|
|
|
|
|
mixin _$Address {
|
|
|
|
|
|
|
|
|
|
Province? get province; City? get city; String? get address; String? get postal_code;
|
|
|
|
|
Province? get province; City? get city; String? get address; String? get postalCode;
|
|
|
|
|
/// Create a copy of Address
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@@ -1029,16 +1029,16 @@ $AddressCopyWith<Address> get copyWith => _$AddressCopyWithImpl<Address>(this as
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postal_code, postal_code) || other.postal_code == postal_code));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postalCode, postalCode) || other.postalCode == postalCode));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,province,city,address,postal_code);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,province,city,address,postalCode);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Address(province: $province, city: $city, address: $address, postal_code: $postal_code)';
|
|
|
|
|
return 'Address(province: $province, city: $city, address: $address, postalCode: $postalCode)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1049,7 +1049,7 @@ abstract mixin class $AddressCopyWith<$Res> {
|
|
|
|
|
factory $AddressCopyWith(Address value, $Res Function(Address) _then) = _$AddressCopyWithImpl;
|
|
|
|
|
@useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
Province? province, City? city, String? address, String? postal_code
|
|
|
|
|
Province? province, City? city, String? address, String? postalCode
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1066,12 +1066,12 @@ class _$AddressCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Address
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postal_code = freezed,}) {
|
|
|
|
|
@pragma('vm:prefer-inline') @override $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postalCode = freezed,}) {
|
|
|
|
|
return _then(_self.copyWith(
|
|
|
|
|
province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Province?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as City?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,postal_code: freezed == postal_code ? _self.postal_code : postal_code // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,postalCode: freezed == postalCode ? _self.postalCode : postalCode // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
@@ -1107,13 +1107,13 @@ $CityCopyWith<$Res>? get city {
|
|
|
|
|
@JsonSerializable()
|
|
|
|
|
|
|
|
|
|
class _Address implements Address {
|
|
|
|
|
const _Address({this.province, this.city, this.address, this.postal_code});
|
|
|
|
|
const _Address({this.province, this.city, this.address, this.postalCode});
|
|
|
|
|
factory _Address.fromJson(Map<String, dynamic> json) => _$AddressFromJson(json);
|
|
|
|
|
|
|
|
|
|
@override final Province? province;
|
|
|
|
|
@override final City? city;
|
|
|
|
|
@override final String? address;
|
|
|
|
|
@override final String? postal_code;
|
|
|
|
|
@override final String? postalCode;
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Address
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@@ -1128,16 +1128,16 @@ Map<String, dynamic> toJson() {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool operator ==(Object other) {
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postal_code, postal_code) || other.postal_code == postal_code));
|
|
|
|
|
return identical(this, other) || (other.runtimeType == runtimeType&&other is _Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postalCode, postalCode) || other.postalCode == postalCode));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
@override
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,province,city,address,postal_code);
|
|
|
|
|
int get hashCode => Object.hash(runtimeType,province,city,address,postalCode);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'Address(province: $province, city: $city, address: $address, postal_code: $postal_code)';
|
|
|
|
|
return 'Address(province: $province, city: $city, address: $address, postalCode: $postalCode)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1148,7 +1148,7 @@ abstract mixin class _$AddressCopyWith<$Res> implements $AddressCopyWith<$Res> {
|
|
|
|
|
factory _$AddressCopyWith(_Address value, $Res Function(_Address) _then) = __$AddressCopyWithImpl;
|
|
|
|
|
@override @useResult
|
|
|
|
|
$Res call({
|
|
|
|
|
Province? province, City? city, String? address, String? postal_code
|
|
|
|
|
Province? province, City? city, String? address, String? postalCode
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1165,12 +1165,12 @@ class __$AddressCopyWithImpl<$Res>
|
|
|
|
|
|
|
|
|
|
/// Create a copy of Address
|
|
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postal_code = freezed,}) {
|
|
|
|
|
@override @pragma('vm:prefer-inline') $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postalCode = freezed,}) {
|
|
|
|
|
return _then(_Address(
|
|
|
|
|
province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Province?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as City?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,postal_code: freezed == postal_code ? _self.postal_code : postal_code // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,postalCode: freezed == postalCode ? _self.postalCode : postalCode // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as String?,
|
|
|
|
|
));
|
|
|
|
|
}
|
|
|
|
|
|