|
@@ -44,7 +44,7 @@ extension LabourRequestIndexEntityExtension on LabourRequestIndexEntity {
|
|
|
|
|
|
LabourRequestIndexDepartmentList $LabourRequestIndexDepartmentListFromJson(Map<String, dynamic> json) {
|
|
LabourRequestIndexDepartmentList $LabourRequestIndexDepartmentListFromJson(Map<String, dynamic> json) {
|
|
final LabourRequestIndexDepartmentList labourRequestIndexDepartmentList = LabourRequestIndexDepartmentList();
|
|
final LabourRequestIndexDepartmentList labourRequestIndexDepartmentList = LabourRequestIndexDepartmentList();
|
|
- final int? value = jsonConvert.convert<int>(json['value']);
|
|
|
|
|
|
+ final String? value = jsonConvert.convert<String>(json['value']);
|
|
if (value != null) {
|
|
if (value != null) {
|
|
labourRequestIndexDepartmentList.value = value;
|
|
labourRequestIndexDepartmentList.value = value;
|
|
}
|
|
}
|
|
@@ -69,7 +69,7 @@ Map<String, dynamic> $LabourRequestIndexDepartmentListToJson(LabourRequestIndexD
|
|
|
|
|
|
extension LabourRequestIndexDepartmentListExtension on LabourRequestIndexDepartmentList {
|
|
extension LabourRequestIndexDepartmentListExtension on LabourRequestIndexDepartmentList {
|
|
LabourRequestIndexDepartmentList copyWith({
|
|
LabourRequestIndexDepartmentList copyWith({
|
|
- int? value,
|
|
|
|
|
|
+ String? value,
|
|
String? txt,
|
|
String? txt,
|
|
String? selected,
|
|
String? selected,
|
|
}) {
|
|
}) {
|
|
@@ -82,7 +82,7 @@ extension LabourRequestIndexDepartmentListExtension on LabourRequestIndexDepartm
|
|
|
|
|
|
LabourRequestIndexStatusList $LabourRequestIndexStatusListFromJson(Map<String, dynamic> json) {
|
|
LabourRequestIndexStatusList $LabourRequestIndexStatusListFromJson(Map<String, dynamic> json) {
|
|
final LabourRequestIndexStatusList labourRequestIndexStatusList = LabourRequestIndexStatusList();
|
|
final LabourRequestIndexStatusList labourRequestIndexStatusList = LabourRequestIndexStatusList();
|
|
- final int? value = jsonConvert.convert<int>(json['value']);
|
|
|
|
|
|
+ final String? value = jsonConvert.convert<String>(json['value']);
|
|
if (value != null) {
|
|
if (value != null) {
|
|
labourRequestIndexStatusList.value = value;
|
|
labourRequestIndexStatusList.value = value;
|
|
}
|
|
}
|
|
@@ -107,7 +107,7 @@ Map<String, dynamic> $LabourRequestIndexStatusListToJson(LabourRequestIndexStatu
|
|
|
|
|
|
extension LabourRequestIndexStatusListExtension on LabourRequestIndexStatusList {
|
|
extension LabourRequestIndexStatusListExtension on LabourRequestIndexStatusList {
|
|
LabourRequestIndexStatusList copyWith({
|
|
LabourRequestIndexStatusList copyWith({
|
|
- int? value,
|
|
|
|
|
|
+ String? value,
|
|
String? txt,
|
|
String? txt,
|
|
String? selected,
|
|
String? selected,
|
|
}) {
|
|
}) {
|