// 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/agency_detail_entity.dart'; import 'package:domain/entity/response/agency_option_entity.dart'; import 'package:domain/entity/response/agency_table_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/contract_detail_entity.dart'; import 'package:domain/entity/response/contract_option_entity.dart'; import 'package:domain/entity/response/contract_position_add_option_entity.dart'; import 'package:domain/entity/response/contract_position_option_entity.dart'; import 'package:domain/entity/response/contract_position_rate_detail_entity.dart'; import 'package:domain/entity/response/contract_position_rate_specific_option_entity.dart'; import 'package:domain/entity/response/contract_position_rate_table_entity.dart'; import 'package:domain/entity/response/contract_position_table_entity.dart'; import 'package:domain/entity/response/contract_table_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/index_option_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_e_r_detail_entity.dart'; import 'package:domain/entity/response/job_list_e_r_option_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_list_e_r_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_e_r_entity.dart'; import 'package:domain/entity/response/labour_request_e_r_option_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_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/position_table_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/s_g_attendance_review_option_entity.dart'; import 'package:domain/entity/response/s_g_attendance_review_table_entity.dart'; import 'package:domain/entity/response/s_g_attendance_review_workflow_entity.dart'; import 'package:domain/entity/response/s_g_dashboard_entity.dart'; import 'package:domain/entity/response/s_g_labour_request_add_option_entity.dart'; import 'package:domain/entity/response/s_g_labour_request_detail_entity.dart'; import 'package:domain/entity/response/s_g_labour_request_option_entity.dart'; import 'package:domain/entity/response/s_g_labour_request_table_entity.dart'; import 'package:domain/entity/response/s_g_labour_request_worl_flow_entity.dart'; import 'package:domain/entity/response/s_g_labour_review_option_entity.dart'; import 'package:domain/entity/response/s_g_labour_review_table_entity.dart'; import 'package:domain/entity/response/sign_in_sign_out_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/response/switch_project_entity.dart'; import 'package:domain/entity/response/t_h_applied_edit_entity.dart'; import 'package:domain/entity/response/t_h_applied_employee_entity.dart'; import 'package:domain/entity/response/t_h_applied_index_entity.dart'; import 'package:domain/entity/response/t_h_applied_table_entity.dart'; import 'package:domain/entity/response/t_h_employee_detail_entity.dart'; import 'package:domain/entity/response/t_h_employee_remarks_entity.dart'; import 'package:domain/entity/response/t_h_o_a_attachment_entity.dart'; import 'package:domain/entity/response/t_h_o_a_labour_detail_entity.dart'; import 'package:domain/entity/response/t_h_o_a_labour_review_table_entity.dart'; import 'package:domain/entity/response/t_h_o_a_labour_table_entity.dart'; import 'package:domain/entity/response/t_h_upload_file_entity.dart'; import 'package:domain/entity/response/u_k_attendance_entity.dart'; import 'package:domain/entity/response/u_k_report_attendance_entity.dart'; import 'package:domain/entity/response/u_k_report_labour_entity.dart'; import 'package:domain/entity/response/u_k_report_working_hours_entity.dart'; import 'package:domain/entity/response/u_k_security_attendance_entity.dart'; import 'package:domain/entity/response/u_k_security_attendance_option_entity.dart'; import 'package:domain/entity/response/u_k_template_entity.dart'; import 'package:domain/entity/response/uk_attendance_review_entity.dart'; import 'package:domain/entity/response/uk_attendance_review_remark_entity.dart'; import 'package:domain/entity/response/uk_job_applied_revise_add_detail_entity.dart'; import 'package:domain/entity/response/uk_job_applied_revise_edit_detail_entity.dart'; import 'package:domain/entity/response/uk_job_applied_revise_info_entity.dart'; import 'package:domain/entity/response/uk_job_applied_revise_log_entity.dart'; import 'package:domain/entity/response/uk_job_applied_staff_list_entity.dart'; import 'package:domain/entity/response/uk_job_template_detail_by_select_title_entity.dart'; import 'package:domain/entity/response/uk_labour_request_detail_entity.dart'; import 'package:domain/entity/response/uk_labour_request_preselect_addstatff_list_entity.dart'; import 'package:domain/entity/response/uk_labour_request_preselected_list_entity.dart'; import 'package:domain/entity/response/uk_labour_request_review_detail_entity.dart'; import 'package:domain/entity/response/uk_labour_request_review_list_entity.dart'; import 'package:domain/entity/response/uk_labour_request_table_entity.dart'; import 'package:domain/entity/response/uk_labour_review_status_entity.dart'; import 'package:domain/entity/response/uk_report_casual_entity.dart'; import 'package:domain/entity/response/uk_report_casual_pay_entity.dart'; import 'package:domain/entity/response/uk_report_outlet_entity.dart'; import 'package:domain/entity/response/uk_staff_detail_entity.dart'; import 'package:domain/entity/response/uk_staff_labour_history_entity.dart'; import 'package:domain/entity/response/uk_template_detail_entity.dart'; import 'package:domain/entity/response/uk_template_detail_index_entity.dart'; import 'package:domain/entity/response/uk_template_title_option_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) => AgencyDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AgencyDetailPivot.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AgencyOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AgencyTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => AgencyTableRows.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) => ContractDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractDetailRow.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => ContractPositionAddOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractPositionOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => ContractPositionRateDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => ContractPositionRateSpecificOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => ContractPositionRateTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractPositionRateTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractPositionTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractPositionTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => ContractTableRows.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) => IndexOptionEntity.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) => JobListERDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListERDetailJob.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListEROptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => JobListEROptionFilter.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) => LabourListEREntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourListERRows.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) => LabourRequestEREntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestERCountList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestERSourceList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => LabourRequestERSourceListRequestList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestEROptionEntity.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) => 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) => PositionTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => PositionTableRows.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) => SGAttendanceReviewOptionEntity.fromJson(e)) .toList() as M; } if ([] is M) { return data.map((Map e) => SGAttendanceReviewTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGAttendanceReviewTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => SGAttendanceReviewTableRowsCheck.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => SGAttendanceReviewWorkflowEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGAttendanceReviewWorkflowRow.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => SGAttendanceReviewWorkflowRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGDashboardEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGDashboardAgencyList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGDashboardAgencyListDays.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => SGLabourRequestAddOptionEntity.fromJson(e)) .toList() as M; } if ([] is M) { return data.map((Map e) => LabourRequestAgencyEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestDetailLabReq.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestWorlFlowEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourRequestWorlFlowRow.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => SGLabourRequestWorlFlowRecords.fromJson(e)) .toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourReviewOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourReviewTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SGLabourReviewTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SignInSignOutEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SignInSignOutRows.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) => SwitchProjectEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => SwitchProjectUserList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedEditEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedEditApplied.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedEmployeeEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedEmployeeRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedIndexJob.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THAppliedTableCheckInOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THEmployeeDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THEmployeeDetailStaff.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THEmployeeDetailReviews.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THEmployeeRemarksEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THEmployeeRemarksReviews.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOAAttachmentEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOAAttachmentRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOALabourDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOALabourDetailLabourRequest.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOALabourReviewTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOALabourReviewTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOALabourTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THOALabourTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => THUploadFileEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKAttendanceEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKAttendanceRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKAttendanceInOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKReportAttendanceEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKReportAttendanceRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKReportLabourEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKReportLabourRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKReportWorkingHoursEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKReportWorkingHoursRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKSecurityAttendanceEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKSecurityAttendanceRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKSecurityInOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UKSecurityAttendanceOptionEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UKSecurityAttendanceOptionFilter.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKTemplateEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UKTemplateRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkAttendanceReviewEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkAttendanceReviewRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkAttendanceReviewRemarkEntity.fromJson(e)) .toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseAddDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseAddDetailApplied.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseEditDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseEditDetailApplied.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseEditDetailRevise.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseEditDetailReviseApplied.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkJobAppliedReviseInfoEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkJobAppliedReviseInfoRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkJobAppliedReviseLogEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkJobAppliedReviseLogRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseLogRecordsContent.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseLogRecordsContentReviseHours.fromJson(e)) .toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseLogRecordsContentStatus.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedReviseLogRecordsContentReason.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkJobAppliedStaffListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkJobAppliedStaffListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkJobTemplateDetailBySelectTitleEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourRequestDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestDetailLocationList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestDetailTemplateList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestDetailDepartmentList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestDetailChargeList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestDetailEmploymentList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestPreselectAddstatffListEntity.fromJson(e)) .toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestPreselectAddstatffListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestPreselectedListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestPreselectedListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestReviewDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestReviewDetailOrder.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestReviewDetailOrderRequest.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestReviewDetailOrderRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestReviewDetailRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkLabourRequestReviewListEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourRequestReviewListRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourRequestTableEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourRequestTableRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourReviewStatusEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourReviewStatusRow.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkLabourReviewStatusRecords.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportCasualEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportCasualRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportCasualTotal.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportCasualPayEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportCasualPayRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportCasualPayTotal.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportOutletEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkReportOutletRequestList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkStaffDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkStaffDetailCertificates.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkStaffLabourHistoryEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkStaffLabourHistoryRows.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkStaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkStaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkStaffLabourHistoryRowsWorkIn.fromJson(e)) .toList() as M; } if ([] is M) { return data.map(( Map e) => UkStaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkTemplateDetailEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkTemplateDetailRow.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkTemplateDetailTitleList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkTemplateDetailCertificateList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkTemplateDetailVehicleList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkTemplateDetailIndexEntity.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkTemplateDetailIndexCertificateList.fromJson(e)).toList() as M; } if ([] is M) { return data.map(( Map e) => UkTemplateDetailIndexVehicleList.fromJson(e)).toList() as M; } if ([] is M) { return data.map((Map e) => UkTemplateTitleOptionEntity.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, (AgencyDetailEntity).toString(): AgencyDetailEntity.fromJson, (AgencyDetailPivot).toString(): AgencyDetailPivot.fromJson, (AgencyOptionEntity).toString(): AgencyOptionEntity.fromJson, (AgencyTableEntity).toString(): AgencyTableEntity.fromJson, (AgencyTableRows).toString(): AgencyTableRows.fromJson, (AttendanceEntity).toString(): AttendanceEntity.fromJson, (AttendanceList).toString(): AttendanceList.fromJson, (AttendanceReviewEntity).toString(): AttendanceReviewEntity.fromJson, (AttendanceReviewRows).toString(): AttendanceReviewRows.fromJson, (CheckSuccessEntity).toString(): CheckSuccessEntity.fromJson, (ContractDetailEntity).toString(): ContractDetailEntity.fromJson, (ContractDetailRow).toString(): ContractDetailRow.fromJson, (ContractOptionEntity).toString(): ContractOptionEntity.fromJson, (ContractPositionAddOptionEntity) .toString(): ContractPositionAddOptionEntity.fromJson, (ContractPositionOptionEntity).toString(): ContractPositionOptionEntity .fromJson, (ContractPositionRateDetailEntity) .toString(): ContractPositionRateDetailEntity.fromJson, (ContractPositionRateSpecificOptionEntity) .toString(): ContractPositionRateSpecificOptionEntity.fromJson, (ContractPositionRateTableEntity) .toString(): ContractPositionRateTableEntity.fromJson, (ContractPositionRateTableRows).toString(): ContractPositionRateTableRows .fromJson, (ContractPositionTableEntity).toString(): ContractPositionTableEntity .fromJson, (ContractPositionTableRows).toString(): ContractPositionTableRows.fromJson, (ContractTableEntity).toString(): ContractTableEntity.fromJson, (ContractTableRows).toString(): ContractTableRows.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, (IndexOptionEntity).toString(): IndexOptionEntity.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, (JobListERDetailEntity).toString(): JobListERDetailEntity.fromJson, (JobListERDetailJob).toString(): JobListERDetailJob.fromJson, (JobListEROptionEntity).toString(): JobListEROptionEntity.fromJson, (JobListEROptionFilter).toString(): JobListEROptionFilter.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, (LabourListEREntity).toString(): LabourListEREntity.fromJson, (LabourListERRows).toString(): LabourListERRows.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, (LabourRequestEREntity).toString(): LabourRequestEREntity.fromJson, (LabourRequestERCountList).toString(): LabourRequestERCountList.fromJson, (LabourRequestERSourceList).toString(): LabourRequestERSourceList.fromJson, (LabourRequestERSourceListRequestList) .toString(): LabourRequestERSourceListRequestList.fromJson, (LabourRequestEROptionEntity).toString(): LabourRequestEROptionEntity .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, (LabourRequestWorkFlowEntity).toString(): LabourRequestWorkFlowEntity .fromJson, (LabourRequestWorkFlowRecords).toString(): LabourRequestWorkFlowRecords .fromJson, (LabourReviewListEntity).toString(): LabourReviewListEntity.fromJson, (LabourReviewListRows).toString(): LabourReviewListRows.fromJson, (LabourReviewStatusEntity).toString(): LabourReviewStatusEntity.fromJson, (LabourReviewStatusRecords).toString(): LabourReviewStatusRecords.fromJson, (PositionTableEntity).toString(): PositionTableEntity.fromJson, (PositionTableRows).toString(): PositionTableRows.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, (SGAttendanceReviewOptionEntity).toString(): SGAttendanceReviewOptionEntity .fromJson, (SGAttendanceReviewTableEntity).toString(): SGAttendanceReviewTableEntity .fromJson, (SGAttendanceReviewTableRows).toString(): SGAttendanceReviewTableRows .fromJson, (SGAttendanceReviewTableRowsCheck) .toString(): SGAttendanceReviewTableRowsCheck.fromJson, (SGAttendanceReviewWorkflowEntity) .toString(): SGAttendanceReviewWorkflowEntity.fromJson, (SGAttendanceReviewWorkflowRow).toString(): SGAttendanceReviewWorkflowRow .fromJson, (SGAttendanceReviewWorkflowRecords) .toString(): SGAttendanceReviewWorkflowRecords.fromJson, (SGDashboardEntity).toString(): SGDashboardEntity.fromJson, (SGDashboardAgencyList).toString(): SGDashboardAgencyList.fromJson, (SGDashboardAgencyListDays).toString(): SGDashboardAgencyListDays.fromJson, (SGLabourRequestAddOptionEntity).toString(): SGLabourRequestAddOptionEntity .fromJson, (LabourRequestAgencyEntity).toString(): LabourRequestAgencyEntity.fromJson, (SGLabourRequestDetailEntity).toString(): SGLabourRequestDetailEntity .fromJson, (SGLabourRequestDetailLabReq).toString(): SGLabourRequestDetailLabReq .fromJson, (SGLabourRequestOptionEntity).toString(): SGLabourRequestOptionEntity .fromJson, (SGLabourRequestTableEntity).toString(): SGLabourRequestTableEntity .fromJson, (SGLabourRequestTableRows).toString(): SGLabourRequestTableRows.fromJson, (SGLabourRequestWorlFlowEntity).toString(): SGLabourRequestWorlFlowEntity .fromJson, (SGLabourRequestWorlFlowRow).toString(): SGLabourRequestWorlFlowRow .fromJson, (SGLabourRequestWorlFlowRecords).toString(): SGLabourRequestWorlFlowRecords .fromJson, (SGLabourReviewOptionEntity).toString(): SGLabourReviewOptionEntity .fromJson, (SGLabourReviewTableEntity).toString(): SGLabourReviewTableEntity.fromJson, (SGLabourReviewTableRows).toString(): SGLabourReviewTableRows.fromJson, (SignInSignOutEntity).toString(): SignInSignOutEntity.fromJson, (SignInSignOutRows).toString(): SignInSignOutRows.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, (SwitchProjectEntity).toString(): SwitchProjectEntity.fromJson, (SwitchProjectUserList).toString(): SwitchProjectUserList.fromJson, (THAppliedEditEntity).toString(): THAppliedEditEntity.fromJson, (THAppliedEditApplied).toString(): THAppliedEditApplied.fromJson, (THAppliedEmployeeEntity).toString(): THAppliedEmployeeEntity.fromJson, (THAppliedEmployeeRows).toString(): THAppliedEmployeeRows.fromJson, (THAppliedIndexEntity).toString(): THAppliedIndexEntity.fromJson, (THAppliedIndexJob).toString(): THAppliedIndexJob.fromJson, (THAppliedTableEntity).toString(): THAppliedTableEntity.fromJson, (THAppliedTableRows).toString(): THAppliedTableRows.fromJson, (THAppliedTableCheckInOut).toString(): THAppliedTableCheckInOut.fromJson, (THEmployeeDetailEntity).toString(): THEmployeeDetailEntity.fromJson, (THEmployeeDetailStaff).toString(): THEmployeeDetailStaff.fromJson, (THEmployeeDetailReviews).toString(): THEmployeeDetailReviews.fromJson, (THEmployeeRemarksEntity).toString(): THEmployeeRemarksEntity.fromJson, (THEmployeeRemarksReviews).toString(): THEmployeeRemarksReviews.fromJson, (THOAAttachmentEntity).toString(): THOAAttachmentEntity.fromJson, (THOAAttachmentRows).toString(): THOAAttachmentRows.fromJson, (THOALabourDetailEntity).toString(): THOALabourDetailEntity.fromJson, (THOALabourDetailLabourRequest).toString(): THOALabourDetailLabourRequest .fromJson, (THOALabourReviewTableEntity).toString(): THOALabourReviewTableEntity .fromJson, (THOALabourReviewTableRows).toString(): THOALabourReviewTableRows.fromJson, (THOALabourTableEntity).toString(): THOALabourTableEntity.fromJson, (THOALabourTableRows).toString(): THOALabourTableRows.fromJson, (THUploadFileEntity).toString(): THUploadFileEntity.fromJson, (UKAttendanceEntity).toString(): UKAttendanceEntity.fromJson, (UKAttendanceRows).toString(): UKAttendanceRows.fromJson, (UKAttendanceInOut).toString(): UKAttendanceInOut.fromJson, (UKReportAttendanceEntity).toString(): UKReportAttendanceEntity.fromJson, (UKReportAttendanceRows).toString(): UKReportAttendanceRows.fromJson, (UKReportLabourEntity).toString(): UKReportLabourEntity.fromJson, (UKReportLabourRows).toString(): UKReportLabourRows.fromJson, (UKReportWorkingHoursEntity).toString(): UKReportWorkingHoursEntity .fromJson, (UKReportWorkingHoursRows).toString(): UKReportWorkingHoursRows.fromJson, (UKSecurityAttendanceEntity).toString(): UKSecurityAttendanceEntity .fromJson, (UKSecurityAttendanceRows).toString(): UKSecurityAttendanceRows.fromJson, (UKSecurityInOut).toString(): UKSecurityInOut.fromJson, (UKSecurityAttendanceOptionEntity) .toString(): UKSecurityAttendanceOptionEntity.fromJson, (UKSecurityAttendanceOptionFilter) .toString(): UKSecurityAttendanceOptionFilter.fromJson, (UKTemplateEntity).toString(): UKTemplateEntity.fromJson, (UKTemplateRows).toString(): UKTemplateRows.fromJson, (UkAttendanceReviewEntity).toString(): UkAttendanceReviewEntity.fromJson, (UkAttendanceReviewRows).toString(): UkAttendanceReviewRows.fromJson, (UkAttendanceReviewRemarkEntity).toString(): UkAttendanceReviewRemarkEntity .fromJson, (UkJobAppliedReviseAddDetailEntity) .toString(): UkJobAppliedReviseAddDetailEntity.fromJson, (UkJobAppliedReviseAddDetailApplied) .toString(): UkJobAppliedReviseAddDetailApplied.fromJson, (UkJobAppliedReviseEditDetailEntity) .toString(): UkJobAppliedReviseEditDetailEntity.fromJson, (UkJobAppliedReviseEditDetailApplied) .toString(): UkJobAppliedReviseEditDetailApplied.fromJson, (UkJobAppliedReviseEditDetailRevise) .toString(): UkJobAppliedReviseEditDetailRevise.fromJson, (UkJobAppliedReviseEditDetailReviseApplied) .toString(): UkJobAppliedReviseEditDetailReviseApplied.fromJson, (UkJobAppliedReviseInfoEntity).toString(): UkJobAppliedReviseInfoEntity .fromJson, (UkJobAppliedReviseInfoRows).toString(): UkJobAppliedReviseInfoRows .fromJson, (UkJobAppliedReviseLogEntity).toString(): UkJobAppliedReviseLogEntity .fromJson, (UkJobAppliedReviseLogRecords).toString(): UkJobAppliedReviseLogRecords .fromJson, (UkJobAppliedReviseLogRecordsContent) .toString(): UkJobAppliedReviseLogRecordsContent.fromJson, (UkJobAppliedReviseLogRecordsContentReviseHours) .toString(): UkJobAppliedReviseLogRecordsContentReviseHours.fromJson, (UkJobAppliedReviseLogRecordsContentStatus) .toString(): UkJobAppliedReviseLogRecordsContentStatus.fromJson, (UkJobAppliedReviseLogRecordsContentReason) .toString(): UkJobAppliedReviseLogRecordsContentReason.fromJson, (UkJobAppliedStaffListEntity).toString(): UkJobAppliedStaffListEntity .fromJson, (UkJobAppliedStaffListRows).toString(): UkJobAppliedStaffListRows.fromJson, (UkJobAppliedStaffListRowsSecurityIn) .toString(): UkJobAppliedStaffListRowsSecurityIn.fromJson, (UkJobAppliedStaffListRowsSecurityOut) .toString(): UkJobAppliedStaffListRowsSecurityOut.fromJson, (UkJobAppliedStaffListRowsWorkIn) .toString(): UkJobAppliedStaffListRowsWorkIn.fromJson, (UkJobAppliedStaffListRowsWorkOut) .toString(): UkJobAppliedStaffListRowsWorkOut.fromJson, (UkJobTemplateDetailBySelectTitleEntity) .toString(): UkJobTemplateDetailBySelectTitleEntity.fromJson, (UkLabourRequestDetailEntity).toString(): UkLabourRequestDetailEntity .fromJson, (UkLabourRequestDetailLocationList) .toString(): UkLabourRequestDetailLocationList.fromJson, (UkLabourRequestDetailTemplateList) .toString(): UkLabourRequestDetailTemplateList.fromJson, (UkLabourRequestDetailDepartmentList) .toString(): UkLabourRequestDetailDepartmentList.fromJson, (UkLabourRequestDetailChargeList) .toString(): UkLabourRequestDetailChargeList.fromJson, (UkLabourRequestDetailEmploymentList) .toString(): UkLabourRequestDetailEmploymentList.fromJson, (UkLabourRequestPreselectAddstatffListEntity) .toString(): UkLabourRequestPreselectAddstatffListEntity.fromJson, (UkLabourRequestPreselectAddstatffListRows) .toString(): UkLabourRequestPreselectAddstatffListRows.fromJson, (UkLabourRequestPreselectedListEntity) .toString(): UkLabourRequestPreselectedListEntity.fromJson, (UkLabourRequestPreselectedListRows) .toString(): UkLabourRequestPreselectedListRows.fromJson, (UkLabourRequestReviewDetailEntity) .toString(): UkLabourRequestReviewDetailEntity.fromJson, (UkLabourRequestReviewDetailOrder) .toString(): UkLabourRequestReviewDetailOrder.fromJson, (UkLabourRequestReviewDetailOrderRequest) .toString(): UkLabourRequestReviewDetailOrderRequest.fromJson, (UkLabourRequestReviewDetailOrderRecords) .toString(): UkLabourRequestReviewDetailOrderRecords.fromJson, (UkLabourRequestReviewDetailRecords) .toString(): UkLabourRequestReviewDetailRecords.fromJson, (UkLabourRequestReviewListEntity) .toString(): UkLabourRequestReviewListEntity.fromJson, (UkLabourRequestReviewListRows).toString(): UkLabourRequestReviewListRows .fromJson, (UkLabourRequestTableEntity).toString(): UkLabourRequestTableEntity .fromJson, (UkLabourRequestTableRows).toString(): UkLabourRequestTableRows.fromJson, (UkLabourReviewStatusEntity).toString(): UkLabourReviewStatusEntity .fromJson, (UkLabourReviewStatusRow).toString(): UkLabourReviewStatusRow.fromJson, (UkLabourReviewStatusRecords).toString(): UkLabourReviewStatusRecords .fromJson, (UkReportCasualEntity).toString(): UkReportCasualEntity.fromJson, (UkReportCasualRows).toString(): UkReportCasualRows.fromJson, (UkReportCasualTotal).toString(): UkReportCasualTotal.fromJson, (UkReportCasualPayEntity).toString(): UkReportCasualPayEntity.fromJson, (UkReportCasualPayRows).toString(): UkReportCasualPayRows.fromJson, (UkReportCasualPayTotal).toString(): UkReportCasualPayTotal.fromJson, (UkReportOutletEntity).toString(): UkReportOutletEntity.fromJson, (UkReportOutletRequestList).toString(): UkReportOutletRequestList.fromJson, (UkStaffDetailEntity).toString(): UkStaffDetailEntity.fromJson, (UkStaffDetailCertificates).toString(): UkStaffDetailCertificates.fromJson, (UkStaffLabourHistoryEntity).toString(): UkStaffLabourHistoryEntity .fromJson, (UkStaffLabourHistoryRows).toString(): UkStaffLabourHistoryRows.fromJson, (UkStaffLabourHistoryRowsSecurityIn) .toString(): UkStaffLabourHistoryRowsSecurityIn.fromJson, (UkStaffLabourHistoryRowsSecurityOut) .toString(): UkStaffLabourHistoryRowsSecurityOut.fromJson, (UkStaffLabourHistoryRowsWorkIn).toString(): UkStaffLabourHistoryRowsWorkIn .fromJson, (UkStaffLabourHistoryRowsWorkOut) .toString(): UkStaffLabourHistoryRowsWorkOut.fromJson, (UkTemplateDetailEntity).toString(): UkTemplateDetailEntity.fromJson, (UkTemplateDetailRow).toString(): UkTemplateDetailRow.fromJson, (UkTemplateDetailTitleList).toString(): UkTemplateDetailTitleList.fromJson, (UkTemplateDetailCertificateList) .toString(): UkTemplateDetailCertificateList.fromJson, (UkTemplateDetailVehicleList).toString(): UkTemplateDetailVehicleList .fromJson, (UkTemplateDetailIndexEntity).toString(): UkTemplateDetailIndexEntity .fromJson, (UkTemplateDetailIndexCertificateList) .toString(): UkTemplateDetailIndexCertificateList.fromJson, (UkTemplateDetailIndexVehicleList) .toString(): UkTemplateDetailIndexVehicleList.fromJson, (UkTemplateTitleOptionEntity).toString(): UkTemplateTitleOptionEntity .fromJson, (ServerTime).toString(): ServerTime.fromJson, }; bool containsKey(String type) { return convertFuncMap.containsKey(type); } JsonConvertFunction? operator [](String key) { return convertFuncMap[key]; } }