// ignore_for_file: non_constant_identifier_names // ignore_for_file: camel_case_types // ignore_for_file: prefer_single_quotes // This file is automatically generated. DO NOT EDIT, all your changes would be lost. import 'package:flutter/material.dart' show debugPrint; import 'package:domain/entity/response/add_edit_revise_view_s_g_entity.dart'; import 'package:domain/entity/response/attendance_entity.dart'; import 'package:domain/entity/response/attendance_review_entity.dart'; import 'package:domain/entity/response/check_success_entity.dart'; import 'package:domain/entity/response/device_list_entity.dart'; import 'package:domain/entity/response/fiance_report_entity.dart'; import 'package:domain/entity/response/hotel_info_entity.dart'; import 'package:domain/entity/response/id_name_entity.dart'; import 'package:domain/entity/response/job_applied_edit_index_s_g_entity.dart'; import 'package:domain/entity/response/job_applied_index_s_g_entity.dart'; import 'package:domain/entity/response/job_applied_list_s_g_entity.dart'; import 'package:domain/entity/response/job_applied_remark_view_s_g_entity.dart'; import 'package:domain/entity/response/job_applied_staff_s_g_entity.dart'; import 'package:domain/entity/response/job_list_add_staff_entity.dart'; import 'package:domain/entity/response/job_list_applied_edit_entity.dart'; import 'package:domain/entity/response/job_list_applied_info_entity.dart'; import 'package:domain/entity/response/job_list_applied_staff_list_entity.dart'; import 'package:domain/entity/response/job_list_applied_staff_search_entity.dart'; import 'package:domain/entity/response/job_list_applied_work_flow_entity.dart'; import 'package:domain/entity/response/job_list_detail_entity.dart'; import 'package:domain/entity/response/job_list_edit_index_s_g_entity.dart'; import 'package:domain/entity/response/job_list_entity.dart'; import 'package:domain/entity/response/job_list_index_entity.dart'; import 'package:domain/entity/response/job_list_index_s_g_entity.dart'; import 'package:domain/entity/response/job_list_remark_view_entity.dart'; import 'package:domain/entity/response/job_list_s_g_entity.dart'; import 'package:domain/entity/response/job_template_edit_index_entity.dart'; import 'package:domain/entity/response/job_template_s_g_entity.dart'; import 'package:domain/entity/response/job_title_edit_index_entity.dart'; import 'package:domain/entity/response/job_title_s_g_entity.dart'; import 'package:domain/entity/response/labour_report_entity.dart'; import 'package:domain/entity/response/labour_report_v_n_entity.dart'; import 'package:domain/entity/response/labour_request_edit_index_entity.dart'; import 'package:domain/entity/response/labour_request_index_entity.dart'; import 'package:domain/entity/response/labour_request_list_entity.dart'; import 'package:domain/entity/response/labour_request_s_g_add_index_entity.dart'; import 'package:domain/entity/response/labour_request_s_g_edit_index_entity.dart'; import 'package:domain/entity/response/labour_request_s_g_entity.dart'; import 'package:domain/entity/response/labour_request_s_g_list_entity.dart'; import 'package:domain/entity/response/labour_request_work_flow_entity.dart'; import 'package:domain/entity/response/labour_review_list_entity.dart'; import 'package:domain/entity/response/labour_review_status_entity.dart'; import 'package:domain/entity/response/revise_index_s_g_entity.dart'; import 'package:domain/entity/response/revise_list_s_g_entity.dart'; import 'package:domain/entity/response/revise_log_s_g_entity.dart'; import 'package:domain/entity/response/staff_detail_entity.dart'; import 'package:domain/entity/response/staff_detail_s_g_entity.dart'; import 'package:domain/entity/response/staff_job_history_s_g_entity.dart'; import 'package:domain/entity/response/staff_labour_history_entity.dart'; import 'package:domain/entity/response/staff_remark_history_entity.dart'; import 'package:domain/entity/response/staff_report_v_n_entity.dart'; import 'package:domain/entity/response/staff_request_report_entity.dart'; import 'package:domain/entity/response/staff_review_history_s_g_entity.dart'; import 'package:domain/entity/server_time.dart'; JsonConvert jsonConvert = JsonConvert(); typedef JsonConvertFunction = T Function(Map json); typedef EnumConvertFunction = T Function(String value); typedef ConvertExceptionHandler = void Function(Object error, StackTrace stackTrace); extension MapSafeExt on Map { T? getOrNull(K? key) { if (!containsKey(key) || key == null) { return null; } else { return this[key] as T?; } } } class JsonConvert { static ConvertExceptionHandler? onError; JsonConvertClassCollection convertFuncMap = JsonConvertClassCollection(); /// When you are in the development, to generate a new model class, hot-reload doesn't find new generation model class, you can build on MaterialApp method called jsonConvert. ReassembleConvertFuncMap (); This method only works in a development environment /// https://flutter.cn/docs/development/tools/hot-reload /// class MyApp extends StatelessWidget { /// const MyApp({Key? key}) /// : super(key: key); /// /// @override /// Widget build(BuildContext context) { /// jsonConvert.reassembleConvertFuncMap(); /// return MaterialApp(); /// } /// } void reassembleConvertFuncMap() { bool isReleaseMode = const bool.fromEnvironment('dart.vm.product'); if (!isReleaseMode) { convertFuncMap = JsonConvertClassCollection(); } } T? convert(dynamic value, {EnumConvertFunction? enumConvert}) { if (value == null) { return null; } if (value is T) { return value; } try { return _asT(value, enumConvert: enumConvert); } catch (e, stackTrace) { debugPrint('asT<$T> $e $stackTrace'); if (onError != null) { onError!(e, stackTrace); } return null; } } List? convertList(List? value, {EnumConvertFunction? enumConvert}) { if (value == null) { return null; } try { return value.map((dynamic e) => _asT(e, enumConvert: enumConvert)).toList(); } catch (e, stackTrace) { debugPrint('asT<$T> $e $stackTrace'); if (onError != null) { onError!(e, stackTrace); } return []; } } List? convertListNotNull(dynamic value, {EnumConvertFunction? enumConvert}) { if (value == null) { return null; } try { return (value as List).map((dynamic e) => _asT(e, enumConvert: enumConvert)!).toList(); } catch (e, stackTrace) { debugPrint('asT<$T> $e $stackTrace'); if (onError != null) { onError!(e, stackTrace); } return []; } } T? _asT(dynamic value, {EnumConvertFunction? enumConvert}) { final String type = T.toString(); final String valueS = value.toString(); if (enumConvert != null) { return enumConvert(valueS) as T; } else if (type == "String") { return valueS as T; } else if (type == "int") { final int? intValue = int.tryParse(valueS); if (intValue == null) { return double.tryParse(valueS)?.toInt() as T?; } else { return intValue as T; } } else if (type == "double") { return double.parse(valueS) as T; } else if (type == "DateTime") { return DateTime.parse(valueS) as T; } else if (type == "bool") { if (valueS == '0' || valueS == '1') { return (valueS == '1') as T; } return (valueS == 'true') as T; } else if (type == "Map" || type.startsWith("Map<")) { return value as T; } else { if (convertFuncMap.containsKey(type)) { if (value == null) { return null; } var covertFunc = convertFuncMap[type]!; if (covertFunc is Map) { return covertFunc(value as Map) as T; } else { return covertFunc(Map.from(value)) as T; } } else { throw UnimplementedError('$type unimplemented,you can try running the app again'); } } } //list is returned by type static M? _getListChildType(List> data) { if ([] is M) { return data.map((Map e) => AddEditReviseViewSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AttendanceEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AttendanceList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AttendanceReviewEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AttendanceReviewRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => CheckSuccessEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => DeviceListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => DeviceListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => FianceReportEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => FianceReportRateList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => HotelInfoEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => HotelInfoMenus.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => HotelInfoMenusChildren.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => IdNameEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedEditIndexSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedEditIndexSGStatusList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedIndexSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedIndexSGStatusList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedListSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedListSGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedListSGRowsCheck.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedListSGRowsStatusList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedRemarkViewSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedStaffSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobAppliedStaffSGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAddStaffEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAddStaffResultList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedEditEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedEditReasonList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedInfoEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffSearchEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedStaffSearchRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedWorkFlowEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListAppliedWorkFlowRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListDetailDepartmentList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListEditIndexSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListEditIndexOption.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListIndexDepartmentList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListIndexStatusList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListIndexSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListIndexSGOption.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListRemarkViewEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListSGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTemplateEditIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTemplateEditIndexAgeList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTemplateEditIndexSexList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTemplateEditIndexLanguageList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTemplateSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTemplateSGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTitleEditIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTitleEditIndexTemplate.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTitleSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobTitleSGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReportEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReportRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReportTotal.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReportVNEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReportVNRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReportVNTotal.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestEditIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestEditIndexTemplateList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestEditIndexDepartmentList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestIndexDepartmentList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestIndexStatusList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGAddIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGAddIndexOption.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGEditIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGEditIndexJob.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGEditSelected.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGEditIndexChecked.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGCountList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestSGListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestWorkFlowEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestWorkFlowRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReviewListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReviewListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReviewStatusEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourReviewStatusRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseIndexSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseIndexSGStatusList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseListSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseListSGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseLogSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseLogSGRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseLogSGRecordsContent.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ReviseLogSGRecordsOption.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffDetailSGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffDetailSGReviews.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffDetailSGReviewsReviews.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffJobHistorySGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffJobHistorySGRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffLabourHistoryEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffLabourHistoryRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffRemarkHistoryEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffRemarkHistoryRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffReportVNEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffRequestReportEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffReviewHistorySGEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => StaffReviewHistorySGReviews.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ServerTime.fromJson(e)).toList() as M; } debugPrint("$M not found"); return null; } static M? fromJsonAsT(dynamic json) { if (json is M) { return json; } if (json is List) { return _getListChildType(json.map((dynamic e) => e as Map).toList()); } else { return jsonConvert.convert(json); } } } class JsonConvertClassCollection { Map convertFuncMap = { (AddEditReviseViewSGEntity).toString(): AddEditReviseViewSGEntity.fromJson, (AttendanceEntity).toString(): AttendanceEntity.fromJson, (AttendanceList).toString(): AttendanceList.fromJson, (AttendanceReviewEntity).toString(): AttendanceReviewEntity.fromJson, (AttendanceReviewRows).toString(): AttendanceReviewRows.fromJson, (CheckSuccessEntity).toString(): CheckSuccessEntity.fromJson, (DeviceListEntity).toString(): DeviceListEntity.fromJson, (DeviceListRows).toString(): DeviceListRows.fromJson, (FianceReportEntity).toString(): FianceReportEntity.fromJson, (FianceReportRateList).toString(): FianceReportRateList.fromJson, (HotelInfoEntity).toString(): HotelInfoEntity.fromJson, (HotelInfoMenus).toString(): HotelInfoMenus.fromJson, (HotelInfoMenusChildren).toString(): HotelInfoMenusChildren.fromJson, (IdNameEntity).toString(): IdNameEntity.fromJson, (JobAppliedEditIndexSGEntity).toString(): JobAppliedEditIndexSGEntity.fromJson, (JobAppliedEditIndexSGStatusList).toString(): JobAppliedEditIndexSGStatusList.fromJson, (JobAppliedIndexSGEntity).toString(): JobAppliedIndexSGEntity.fromJson, (JobAppliedIndexSGStatusList).toString(): JobAppliedIndexSGStatusList.fromJson, (JobAppliedListSGEntity).toString(): JobAppliedListSGEntity.fromJson, (JobAppliedListSGRows).toString(): JobAppliedListSGRows.fromJson, (JobAppliedListSGRowsCheck).toString(): JobAppliedListSGRowsCheck.fromJson, (JobAppliedListSGRowsStatusList).toString(): JobAppliedListSGRowsStatusList.fromJson, (JobAppliedRemarkViewSGEntity).toString(): JobAppliedRemarkViewSGEntity.fromJson, (JobAppliedStaffSGEntity).toString(): JobAppliedStaffSGEntity.fromJson, (JobAppliedStaffSGRows).toString(): JobAppliedStaffSGRows.fromJson, (JobListAddStaffEntity).toString(): JobListAddStaffEntity.fromJson, (JobListAddStaffResultList).toString(): JobListAddStaffResultList.fromJson, (JobListAppliedEditEntity).toString(): JobListAppliedEditEntity.fromJson, (JobListAppliedEditReasonList).toString(): JobListAppliedEditReasonList.fromJson, (JobListAppliedInfoEntity).toString(): JobListAppliedInfoEntity.fromJson, (JobListAppliedStaffListEntity).toString(): JobListAppliedStaffListEntity.fromJson, (JobListAppliedStaffListRows).toString(): JobListAppliedStaffListRows.fromJson, (JobListAppliedStaffListRowsSecurityIn).toString(): JobListAppliedStaffListRowsSecurityIn.fromJson, (JobListAppliedStaffListRowsSecurityOut).toString(): JobListAppliedStaffListRowsSecurityOut.fromJson, (JobListAppliedStaffListRowsWorkIn).toString(): JobListAppliedStaffListRowsWorkIn.fromJson, (JobListAppliedStaffListRowsWorkOut).toString(): JobListAppliedStaffListRowsWorkOut.fromJson, (JobListAppliedStaffSearchEntity).toString(): JobListAppliedStaffSearchEntity.fromJson, (JobListAppliedStaffSearchRows).toString(): JobListAppliedStaffSearchRows.fromJson, (JobListAppliedWorkFlowEntity).toString(): JobListAppliedWorkFlowEntity.fromJson, (JobListAppliedWorkFlowRecords).toString(): JobListAppliedWorkFlowRecords.fromJson, (JobListDetailEntity).toString(): JobListDetailEntity.fromJson, (JobListDetailDepartmentList).toString(): JobListDetailDepartmentList.fromJson, (JobListEditIndexSGEntity).toString(): JobListEditIndexSGEntity.fromJson, (JobListEditIndexOption).toString(): JobListEditIndexOption.fromJson, (JobListEntity).toString(): JobListEntity.fromJson, (JobListRows).toString(): JobListRows.fromJson, (JobListIndexEntity).toString(): JobListIndexEntity.fromJson, (JobListIndexDepartmentList).toString(): JobListIndexDepartmentList.fromJson, (JobListIndexStatusList).toString(): JobListIndexStatusList.fromJson, (JobListIndexSGEntity).toString(): JobListIndexSGEntity.fromJson, (JobListIndexSGOption).toString(): JobListIndexSGOption.fromJson, (JobListRemarkViewEntity).toString(): JobListRemarkViewEntity.fromJson, (JobListSGEntity).toString(): JobListSGEntity.fromJson, (JobListSGRows).toString(): JobListSGRows.fromJson, (JobTemplateEditIndexEntity).toString(): JobTemplateEditIndexEntity.fromJson, (JobTemplateEditIndexAgeList).toString(): JobTemplateEditIndexAgeList.fromJson, (JobTemplateEditIndexSexList).toString(): JobTemplateEditIndexSexList.fromJson, (JobTemplateEditIndexLanguageList).toString(): JobTemplateEditIndexLanguageList.fromJson, (JobTemplateSGEntity).toString(): JobTemplateSGEntity.fromJson, (JobTemplateSGRows).toString(): JobTemplateSGRows.fromJson, (JobTitleEditIndexEntity).toString(): JobTitleEditIndexEntity.fromJson, (JobTitleEditIndexTemplate).toString(): JobTitleEditIndexTemplate.fromJson, (JobTitleSGEntity).toString(): JobTitleSGEntity.fromJson, (JobTitleSGRows).toString(): JobTitleSGRows.fromJson, (LabourReportEntity).toString(): LabourReportEntity.fromJson, (LabourReportRows).toString(): LabourReportRows.fromJson, (LabourReportTotal).toString(): LabourReportTotal.fromJson, (LabourReportVNEntity).toString(): LabourReportVNEntity.fromJson, (LabourReportVNRows).toString(): LabourReportVNRows.fromJson, (LabourReportVNTotal).toString(): LabourReportVNTotal.fromJson, (LabourRequestEditIndexEntity).toString(): LabourRequestEditIndexEntity.fromJson, (LabourRequestEditIndexTemplateList).toString(): LabourRequestEditIndexTemplateList.fromJson, (LabourRequestEditIndexDepartmentList).toString(): LabourRequestEditIndexDepartmentList.fromJson, (LabourRequestIndexEntity).toString(): LabourRequestIndexEntity.fromJson, (LabourRequestIndexDepartmentList).toString(): LabourRequestIndexDepartmentList.fromJson, (LabourRequestIndexStatusList).toString(): LabourRequestIndexStatusList.fromJson, (LabourRequestListEntity).toString(): LabourRequestListEntity.fromJson, (LabourRequestListRows).toString(): LabourRequestListRows.fromJson, (LabourRequestSGAddIndexEntity).toString(): LabourRequestSGAddIndexEntity.fromJson, (LabourRequestSGAddIndexOption).toString(): LabourRequestSGAddIndexOption.fromJson, (LabourRequestSGEditIndexEntity).toString(): LabourRequestSGEditIndexEntity.fromJson, (LabourRequestSGEditIndexJob).toString(): LabourRequestSGEditIndexJob.fromJson, (LabourRequestSGEditSelected).toString(): LabourRequestSGEditSelected.fromJson, (LabourRequestSGEditIndexChecked).toString(): LabourRequestSGEditIndexChecked.fromJson, (LabourRequestSGEntity).toString(): LabourRequestSGEntity.fromJson, (LabourRequestSGCountList).toString(): LabourRequestSGCountList.fromJson, (LabourRequestSGListEntity).toString(): LabourRequestSGListEntity.fromJson, (LabourRequestSGListRows).toString(): LabourRequestSGListRows.fromJson, (LabourRequestWorkFlowEntity).toString(): LabourRequestWorkFlowEntity.fromJson, (LabourRequestWorkFlowRecords).toString(): LabourRequestWorkFlowRecords.fromJson, (LabourReviewListEntity).toString(): LabourReviewListEntity.fromJson, (LabourReviewListRows).toString(): LabourReviewListRows.fromJson, (LabourReviewStatusEntity).toString(): LabourReviewStatusEntity.fromJson, (LabourReviewStatusRecords).toString(): LabourReviewStatusRecords.fromJson, (ReviseIndexSGEntity).toString(): ReviseIndexSGEntity.fromJson, (ReviseIndexSGStatusList).toString(): ReviseIndexSGStatusList.fromJson, (ReviseListSGEntity).toString(): ReviseListSGEntity.fromJson, (ReviseListSGRows).toString(): ReviseListSGRows.fromJson, (ReviseLogSGEntity).toString(): ReviseLogSGEntity.fromJson, (ReviseLogSGRecords).toString(): ReviseLogSGRecords.fromJson, (ReviseLogSGRecordsContent).toString(): ReviseLogSGRecordsContent.fromJson, (ReviseLogSGRecordsOption).toString(): ReviseLogSGRecordsOption.fromJson, (StaffDetailEntity).toString(): StaffDetailEntity.fromJson, (StaffDetailSGEntity).toString(): StaffDetailSGEntity.fromJson, (StaffDetailSGReviews).toString(): StaffDetailSGReviews.fromJson, (StaffDetailSGReviewsReviews).toString(): StaffDetailSGReviewsReviews.fromJson, (StaffJobHistorySGEntity).toString(): StaffJobHistorySGEntity.fromJson, (StaffJobHistorySGRows).toString(): StaffJobHistorySGRows.fromJson, (StaffLabourHistoryEntity).toString(): StaffLabourHistoryEntity.fromJson, (StaffLabourHistoryRows).toString(): StaffLabourHistoryRows.fromJson, (StaffLabourHistoryRowsSecurityIn).toString(): StaffLabourHistoryRowsSecurityIn.fromJson, (StaffLabourHistoryRowsSecurityOut).toString(): StaffLabourHistoryRowsSecurityOut.fromJson, (StaffLabourHistoryRowsWorkIn).toString(): StaffLabourHistoryRowsWorkIn.fromJson, (StaffLabourHistoryRowsWorkOut).toString(): StaffLabourHistoryRowsWorkOut.fromJson, (StaffRemarkHistoryEntity).toString(): StaffRemarkHistoryEntity.fromJson, (StaffRemarkHistoryRows).toString(): StaffRemarkHistoryRows.fromJson, (StaffReportVNEntity).toString(): StaffReportVNEntity.fromJson, (StaffRequestReportEntity).toString(): StaffRequestReportEntity.fromJson, (StaffReviewHistorySGEntity).toString(): StaffReviewHistorySGEntity.fromJson, (StaffReviewHistorySGReviews).toString(): StaffReviewHistorySGReviews.fromJson, (ServerTime).toString(): ServerTime.fromJson, }; bool containsKey(String type) { return convertFuncMap.containsKey(type); } JsonConvertFunction? operator [](String key) { return convertFuncMap[key]; } }