json_convert_content.dart 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783
  1. // ignore_for_file: non_constant_identifier_names
  2. // ignore_for_file: camel_case_types
  3. // ignore_for_file: prefer_single_quotes
  4. // This file is automatically generated. DO NOT EDIT, all your changes would be lost.
  5. import 'package:flutter/material.dart' show debugPrint;
  6. import 'package:domain/entity/response/add_edit_revise_view_s_g_entity.dart';
  7. import 'package:domain/entity/response/agency_detail_entity.dart';
  8. import 'package:domain/entity/response/agency_option_entity.dart';
  9. import 'package:domain/entity/response/agency_table_entity.dart';
  10. import 'package:domain/entity/response/attendance_entity.dart';
  11. import 'package:domain/entity/response/attendance_review_entity.dart';
  12. import 'package:domain/entity/response/check_success_entity.dart';
  13. import 'package:domain/entity/response/contract_detail_entity.dart';
  14. import 'package:domain/entity/response/contract_option_entity.dart';
  15. import 'package:domain/entity/response/contract_position_add_option_entity.dart';
  16. import 'package:domain/entity/response/contract_position_option_entity.dart';
  17. import 'package:domain/entity/response/contract_position_rate_detail_entity.dart';
  18. import 'package:domain/entity/response/contract_position_rate_specific_option_entity.dart';
  19. import 'package:domain/entity/response/contract_position_rate_table_entity.dart';
  20. import 'package:domain/entity/response/contract_position_table_entity.dart';
  21. import 'package:domain/entity/response/contract_table_entity.dart';
  22. import 'package:domain/entity/response/device_list_entity.dart';
  23. import 'package:domain/entity/response/fiance_report_entity.dart';
  24. import 'package:domain/entity/response/hotel_info_entity.dart';
  25. import 'package:domain/entity/response/id_name_entity.dart';
  26. import 'package:domain/entity/response/index_option_entity.dart';
  27. import 'package:domain/entity/response/job_applied_edit_index_s_g_entity.dart';
  28. import 'package:domain/entity/response/job_applied_index_s_g_entity.dart';
  29. import 'package:domain/entity/response/job_applied_list_s_g_entity.dart';
  30. import 'package:domain/entity/response/job_applied_remark_view_s_g_entity.dart';
  31. import 'package:domain/entity/response/job_applied_staff_s_g_entity.dart';
  32. import 'package:domain/entity/response/job_list_add_staff_entity.dart';
  33. import 'package:domain/entity/response/job_list_applied_edit_entity.dart';
  34. import 'package:domain/entity/response/job_list_applied_info_entity.dart';
  35. import 'package:domain/entity/response/job_list_applied_staff_list_entity.dart';
  36. import 'package:domain/entity/response/job_list_applied_staff_search_entity.dart';
  37. import 'package:domain/entity/response/job_list_applied_work_flow_entity.dart';
  38. import 'package:domain/entity/response/job_list_detail_entity.dart';
  39. import 'package:domain/entity/response/job_list_e_r_detail_entity.dart';
  40. import 'package:domain/entity/response/job_list_e_r_option_entity.dart';
  41. import 'package:domain/entity/response/job_list_edit_index_s_g_entity.dart';
  42. import 'package:domain/entity/response/job_list_entity.dart';
  43. import 'package:domain/entity/response/job_list_index_entity.dart';
  44. import 'package:domain/entity/response/job_list_index_s_g_entity.dart';
  45. import 'package:domain/entity/response/job_list_remark_view_entity.dart';
  46. import 'package:domain/entity/response/job_list_s_g_entity.dart';
  47. import 'package:domain/entity/response/job_template_edit_index_entity.dart';
  48. import 'package:domain/entity/response/job_template_s_g_entity.dart';
  49. import 'package:domain/entity/response/job_title_edit_index_entity.dart';
  50. import 'package:domain/entity/response/job_title_s_g_entity.dart';
  51. import 'package:domain/entity/response/labour_list_e_r_entity.dart';
  52. import 'package:domain/entity/response/labour_report_entity.dart';
  53. import 'package:domain/entity/response/labour_report_v_n_entity.dart';
  54. import 'package:domain/entity/response/labour_request_e_r_entity.dart';
  55. import 'package:domain/entity/response/labour_request_e_r_option_entity.dart';
  56. import 'package:domain/entity/response/labour_request_edit_index_entity.dart';
  57. import 'package:domain/entity/response/labour_request_index_entity.dart';
  58. import 'package:domain/entity/response/labour_request_list_entity.dart';
  59. import 'package:domain/entity/response/labour_request_work_flow_entity.dart';
  60. import 'package:domain/entity/response/labour_review_list_entity.dart';
  61. import 'package:domain/entity/response/labour_review_status_entity.dart';
  62. import 'package:domain/entity/response/position_table_entity.dart';
  63. import 'package:domain/entity/response/revise_index_s_g_entity.dart';
  64. import 'package:domain/entity/response/revise_list_s_g_entity.dart';
  65. import 'package:domain/entity/response/revise_log_s_g_entity.dart';
  66. import 'package:domain/entity/response/revise_option_entity.dart';
  67. import 'package:domain/entity/response/s_g_attendance_review_option_entity.dart';
  68. import 'package:domain/entity/response/s_g_attendance_review_table_entity.dart';
  69. import 'package:domain/entity/response/s_g_attendance_review_workflow_entity.dart';
  70. import 'package:domain/entity/response/s_g_dashboard_entity.dart';
  71. import 'package:domain/entity/response/s_g_labour_request_add_option_entity.dart';
  72. import 'package:domain/entity/response/s_g_labour_request_detail_entity.dart';
  73. import 'package:domain/entity/response/s_g_labour_request_option_entity.dart';
  74. import 'package:domain/entity/response/s_g_labour_request_table_entity.dart';
  75. import 'package:domain/entity/response/s_g_labour_request_worl_flow_entity.dart';
  76. import 'package:domain/entity/response/s_g_labour_review_option_entity.dart';
  77. import 'package:domain/entity/response/s_g_labour_review_table_entity.dart';
  78. import 'package:domain/entity/response/sign_in_sign_out_entity.dart';
  79. import 'package:domain/entity/response/staff_detail_entity.dart';
  80. import 'package:domain/entity/response/staff_detail_s_g_entity.dart';
  81. import 'package:domain/entity/response/staff_job_history_s_g_entity.dart';
  82. import 'package:domain/entity/response/staff_labour_history_entity.dart';
  83. import 'package:domain/entity/response/staff_remark_history_entity.dart';
  84. import 'package:domain/entity/response/staff_report_v_n_entity.dart';
  85. import 'package:domain/entity/response/staff_request_report_entity.dart';
  86. import 'package:domain/entity/response/staff_review_history_s_g_entity.dart';
  87. import 'package:domain/entity/response/switch_project_entity.dart';
  88. import 'package:domain/entity/response/t_h_applied_edit_entity.dart';
  89. import 'package:domain/entity/response/t_h_applied_employee_entity.dart';
  90. import 'package:domain/entity/response/t_h_applied_index_entity.dart';
  91. import 'package:domain/entity/response/t_h_applied_table_entity.dart';
  92. import 'package:domain/entity/response/t_h_employee_detail_entity.dart';
  93. import 'package:domain/entity/response/t_h_employee_remarks_entity.dart';
  94. import 'package:domain/entity/response/t_h_o_a_attachment_entity.dart';
  95. import 'package:domain/entity/response/t_h_o_a_labour_detail_entity.dart';
  96. import 'package:domain/entity/response/t_h_o_a_labour_review_table_entity.dart';
  97. import 'package:domain/entity/response/t_h_o_a_labour_table_entity.dart';
  98. import 'package:domain/entity/response/t_h_pre_selected_option_entity.dart';
  99. import 'package:domain/entity/response/t_h_pre_selected_staff_table_entity.dart';
  100. import 'package:domain/entity/response/t_h_pre_selected_table_entity.dart';
  101. import 'package:domain/entity/response/t_h_revise_detail_entity.dart';
  102. import 'package:domain/entity/response/t_h_revise_table_entity.dart';
  103. import 'package:domain/entity/response/t_h_revise_workflow_entity.dart';
  104. import 'package:domain/entity/response/t_h_upload_file_entity.dart';
  105. import 'package:domain/entity/response/u_k_attendance_entity.dart';
  106. import 'package:domain/entity/response/u_k_report_attendance_entity.dart';
  107. import 'package:domain/entity/response/u_k_report_labour_entity.dart';
  108. import 'package:domain/entity/response/u_k_report_working_hours_entity.dart';
  109. import 'package:domain/entity/response/u_k_security_attendance_entity.dart';
  110. import 'package:domain/entity/response/u_k_security_attendance_option_entity.dart';
  111. import 'package:domain/entity/response/uk_attendance_review_entity.dart';
  112. import 'package:domain/entity/response/uk_attendance_review_remark_entity.dart';
  113. import 'package:domain/entity/response/uk_job_applied_revise_add_detail_entity.dart';
  114. import 'package:domain/entity/response/uk_job_applied_revise_edit_detail_entity.dart';
  115. import 'package:domain/entity/response/uk_job_applied_revise_info_entity.dart';
  116. import 'package:domain/entity/response/uk_job_applied_revise_log_entity.dart';
  117. import 'package:domain/entity/response/uk_job_applied_staff_list_entity.dart';
  118. import 'package:domain/entity/response/uk_job_list_applied_staff_search_entity.dart';
  119. import 'package:domain/entity/response/uk_job_list_applied_staff_selectoptions_entity.dart';
  120. import 'package:domain/entity/response/uk_job_template_detail_by_select_title_entity.dart';
  121. import 'package:domain/entity/response/uk_lab_req_show_template_entity.dart';
  122. import 'package:domain/entity/response/uk_labour_request_detail_entity.dart';
  123. import 'package:domain/entity/response/uk_labour_request_preselect_addstaff_list_entity.dart';
  124. import 'package:domain/entity/response/uk_labour_request_preselected_list_entity.dart';
  125. import 'package:domain/entity/response/uk_labour_request_review_detail_entity.dart';
  126. import 'package:domain/entity/response/uk_labour_request_review_list_entity.dart';
  127. import 'package:domain/entity/response/uk_labour_request_table_entity.dart';
  128. import 'package:domain/entity/response/uk_labour_review_status_entity.dart';
  129. import 'package:domain/entity/response/uk_report_casual_entity.dart';
  130. import 'package:domain/entity/response/uk_report_casual_pay_entity.dart';
  131. import 'package:domain/entity/response/uk_report_outlet_entity.dart';
  132. import 'package:domain/entity/response/uk_staff_detail_entity.dart';
  133. import 'package:domain/entity/response/uk_staff_labour_history_entity.dart';
  134. import 'package:domain/entity/response/uk_template_detail_entity.dart';
  135. import 'package:domain/entity/response/uk_template_detail_index_entity.dart';
  136. import 'package:domain/entity/response/uk_template_table_entity.dart';
  137. import 'package:domain/entity/response/uk_template_title_option_entity.dart';
  138. import 'package:domain/entity/server_time.dart';
  139. JsonConvert jsonConvert = JsonConvert();
  140. typedef JsonConvertFunction<T> = T Function(Map<String, dynamic> json);
  141. typedef EnumConvertFunction<T> = T Function(String value);
  142. typedef ConvertExceptionHandler = void Function(Object error, StackTrace stackTrace);
  143. extension MapSafeExt<K, V> on Map<K, V> {
  144. T? getOrNull<T>(K? key) {
  145. if (!containsKey(key) || key == null) {
  146. return null;
  147. } else {
  148. return this[key] as T?;
  149. }
  150. }
  151. }
  152. class JsonConvert {
  153. static ConvertExceptionHandler? onError;
  154. JsonConvertClassCollection convertFuncMap = JsonConvertClassCollection();
  155. /// 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
  156. /// https://flutter.cn/docs/development/tools/hot-reload
  157. /// class MyApp extends StatelessWidget {
  158. /// const MyApp({Key? key})
  159. /// : super(key: key);
  160. ///
  161. /// @override
  162. /// Widget build(BuildContext context) {
  163. /// jsonConvert.reassembleConvertFuncMap();
  164. /// return MaterialApp();
  165. /// }
  166. /// }
  167. void reassembleConvertFuncMap() {
  168. bool isReleaseMode = const bool.fromEnvironment('dart.vm.product');
  169. if (!isReleaseMode) {
  170. convertFuncMap = JsonConvertClassCollection();
  171. }
  172. }
  173. T? convert<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  174. if (value == null) {
  175. return null;
  176. }
  177. if (value is T) {
  178. return value;
  179. }
  180. try {
  181. return _asT<T>(value, enumConvert: enumConvert);
  182. } catch (e, stackTrace) {
  183. debugPrint('asT<$T> $e $stackTrace');
  184. if (onError != null) {
  185. onError!(e, stackTrace);
  186. }
  187. return null;
  188. }
  189. }
  190. List<T?>? convertList<T>(List<dynamic>? value, {EnumConvertFunction? enumConvert}) {
  191. if (value == null) {
  192. return null;
  193. }
  194. try {
  195. return value.map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)).toList();
  196. } catch (e, stackTrace) {
  197. debugPrint('asT<$T> $e $stackTrace');
  198. if (onError != null) {
  199. onError!(e, stackTrace);
  200. }
  201. return <T>[];
  202. }
  203. }
  204. List<T>? convertListNotNull<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  205. if (value == null) {
  206. return null;
  207. }
  208. try {
  209. return (value as List<dynamic>).map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)!).toList();
  210. } catch (e, stackTrace) {
  211. debugPrint('asT<$T> $e $stackTrace');
  212. if (onError != null) {
  213. onError!(e, stackTrace);
  214. }
  215. return <T>[];
  216. }
  217. }
  218. T? _asT<T extends Object?>(dynamic value,
  219. {EnumConvertFunction? enumConvert}) {
  220. final String type = T.toString();
  221. final String valueS = value.toString();
  222. if (enumConvert != null) {
  223. return enumConvert(valueS) as T;
  224. } else if (type == "String") {
  225. return valueS as T;
  226. } else if (type == "int") {
  227. final int? intValue = int.tryParse(valueS);
  228. if (intValue == null) {
  229. return double.tryParse(valueS)?.toInt() as T?;
  230. } else {
  231. return intValue as T;
  232. }
  233. } else if (type == "double") {
  234. return double.parse(valueS) as T;
  235. } else if (type == "DateTime") {
  236. return DateTime.parse(valueS) as T;
  237. } else if (type == "bool") {
  238. if (valueS == '0' || valueS == '1') {
  239. return (valueS == '1') as T;
  240. }
  241. return (valueS == 'true') as T;
  242. } else if (type == "Map" || type.startsWith("Map<")) {
  243. return value as T;
  244. } else {
  245. if (convertFuncMap.containsKey(type)) {
  246. if (value == null) {
  247. return null;
  248. }
  249. var covertFunc = convertFuncMap[type]!;
  250. if (covertFunc is Map<String, dynamic>) {
  251. return covertFunc(value as Map<String, dynamic>) as T;
  252. } else {
  253. return covertFunc(Map<String, dynamic>.from(value)) as T;
  254. }
  255. } else {
  256. throw UnimplementedError('$type unimplemented,you can try running the app again');
  257. }
  258. }
  259. }
  260. //list is returned by type
  261. static M? _getListChildType<M>(List<Map<String, dynamic>> data) {
  262. if (<AddEditReviseViewSGEntity>[] is M) {
  263. return data.map<AddEditReviseViewSGEntity>((Map<String, dynamic> e) => AddEditReviseViewSGEntity.fromJson(e)).toList() as M;
  264. }
  265. if (<AgencyDetailEntity>[] is M) {
  266. return data.map<AgencyDetailEntity>((Map<String, dynamic> e) => AgencyDetailEntity.fromJson(e)).toList() as M;
  267. }
  268. if (<AgencyDetailPivot>[] is M) {
  269. return data.map<AgencyDetailPivot>((Map<String, dynamic> e) => AgencyDetailPivot.fromJson(e)).toList() as M;
  270. }
  271. if (<AgencyOptionEntity>[] is M) {
  272. return data.map<AgencyOptionEntity>((Map<String, dynamic> e) => AgencyOptionEntity.fromJson(e)).toList() as M;
  273. }
  274. if (<AgencyTableEntity>[] is M) {
  275. return data.map<AgencyTableEntity>((Map<String, dynamic> e) => AgencyTableEntity.fromJson(e)).toList() as M;
  276. }
  277. if (<AgencyTableRows>[] is M) {
  278. return data.map<AgencyTableRows>((Map<String, dynamic> e) => AgencyTableRows.fromJson(e)).toList() as M;
  279. }
  280. if (<AttendanceEntity>[] is M) {
  281. return data.map<AttendanceEntity>((Map<String, dynamic> e) => AttendanceEntity.fromJson(e)).toList() as M;
  282. }
  283. if (<AttendanceList>[] is M) {
  284. return data.map<AttendanceList>((Map<String, dynamic> e) => AttendanceList.fromJson(e)).toList() as M;
  285. }
  286. if (<AttendanceReviewEntity>[] is M) {
  287. return data.map<AttendanceReviewEntity>((Map<String, dynamic> e) => AttendanceReviewEntity.fromJson(e)).toList() as M;
  288. }
  289. if (<AttendanceReviewRows>[] is M) {
  290. return data.map<AttendanceReviewRows>((Map<String, dynamic> e) => AttendanceReviewRows.fromJson(e)).toList() as M;
  291. }
  292. if (<CheckSuccessEntity>[] is M) {
  293. return data.map<CheckSuccessEntity>((Map<String, dynamic> e) => CheckSuccessEntity.fromJson(e)).toList() as M;
  294. }
  295. if (<ContractDetailEntity>[] is M) {
  296. return data.map<ContractDetailEntity>((Map<String, dynamic> e) => ContractDetailEntity.fromJson(e)).toList() as M;
  297. }
  298. if (<ContractDetailRow>[] is M) {
  299. return data.map<ContractDetailRow>((Map<String, dynamic> e) => ContractDetailRow.fromJson(e)).toList() as M;
  300. }
  301. if (<ContractOptionEntity>[] is M) {
  302. return data.map<ContractOptionEntity>((Map<String, dynamic> e) => ContractOptionEntity.fromJson(e)).toList() as M;
  303. }
  304. if (<ContractPositionAddOptionEntity>[] is M) {
  305. return data.map<ContractPositionAddOptionEntity>((Map<String, dynamic> e) => ContractPositionAddOptionEntity.fromJson(e)).toList() as M;
  306. }
  307. if (<ContractPositionOptionEntity>[] is M) {
  308. return data.map<ContractPositionOptionEntity>((Map<String, dynamic> e) => ContractPositionOptionEntity.fromJson(e)).toList() as M;
  309. }
  310. if (<ContractPositionRateDetailEntity>[] is M) {
  311. return data.map<ContractPositionRateDetailEntity>((Map<String, dynamic> e) => ContractPositionRateDetailEntity.fromJson(e)).toList() as M;
  312. }
  313. if (<ContractPositionRateSpecificOptionEntity>[] is M) {
  314. return data.map<ContractPositionRateSpecificOptionEntity>((Map<String, dynamic> e) => ContractPositionRateSpecificOptionEntity.fromJson(e)).toList() as M;
  315. }
  316. if (<ContractPositionRateTableEntity>[] is M) {
  317. return data.map<ContractPositionRateTableEntity>((Map<String, dynamic> e) => ContractPositionRateTableEntity.fromJson(e)).toList() as M;
  318. }
  319. if (<ContractPositionRateTableRows>[] is M) {
  320. return data.map<ContractPositionRateTableRows>((Map<String, dynamic> e) => ContractPositionRateTableRows.fromJson(e)).toList() as M;
  321. }
  322. if (<ContractPositionTableEntity>[] is M) {
  323. return data.map<ContractPositionTableEntity>((Map<String, dynamic> e) => ContractPositionTableEntity.fromJson(e)).toList() as M;
  324. }
  325. if (<ContractPositionTableRows>[] is M) {
  326. return data.map<ContractPositionTableRows>((Map<String, dynamic> e) => ContractPositionTableRows.fromJson(e)).toList() as M;
  327. }
  328. if (<ContractTableEntity>[] is M) {
  329. return data.map<ContractTableEntity>((Map<String, dynamic> e) => ContractTableEntity.fromJson(e)).toList() as M;
  330. }
  331. if (<ContractTableRows>[] is M) {
  332. return data.map<ContractTableRows>((Map<String, dynamic> e) => ContractTableRows.fromJson(e)).toList() as M;
  333. }
  334. if (<DeviceListEntity>[] is M) {
  335. return data.map<DeviceListEntity>((Map<String, dynamic> e) => DeviceListEntity.fromJson(e)).toList() as M;
  336. }
  337. if (<DeviceListRows>[] is M) {
  338. return data.map<DeviceListRows>((Map<String, dynamic> e) => DeviceListRows.fromJson(e)).toList() as M;
  339. }
  340. if (<FianceReportEntity>[] is M) {
  341. return data.map<FianceReportEntity>((Map<String, dynamic> e) => FianceReportEntity.fromJson(e)).toList() as M;
  342. }
  343. if (<FianceReportRateList>[] is M) {
  344. return data.map<FianceReportRateList>((Map<String, dynamic> e) => FianceReportRateList.fromJson(e)).toList() as M;
  345. }
  346. if (<HotelInfoEntity>[] is M) {
  347. return data.map<HotelInfoEntity>((Map<String, dynamic> e) => HotelInfoEntity.fromJson(e)).toList() as M;
  348. }
  349. if (<HotelInfoMenus>[] is M) {
  350. return data.map<HotelInfoMenus>((Map<String, dynamic> e) => HotelInfoMenus.fromJson(e)).toList() as M;
  351. }
  352. if (<HotelInfoMenusChildren>[] is M) {
  353. return data.map<HotelInfoMenusChildren>((Map<String, dynamic> e) => HotelInfoMenusChildren.fromJson(e)).toList() as M;
  354. }
  355. if (<IdNameEntity>[] is M) {
  356. return data.map<IdNameEntity>((Map<String, dynamic> e) => IdNameEntity.fromJson(e)).toList() as M;
  357. }
  358. if (<IndexOptionEntity>[] is M) {
  359. return data.map<IndexOptionEntity>((Map<String, dynamic> e) => IndexOptionEntity.fromJson(e)).toList() as M;
  360. }
  361. if (<JobAppliedEditIndexSGEntity>[] is M) {
  362. return data.map<JobAppliedEditIndexSGEntity>((Map<String, dynamic> e) => JobAppliedEditIndexSGEntity.fromJson(e)).toList() as M;
  363. }
  364. if (<JobAppliedEditIndexSGStatusList>[] is M) {
  365. return data.map<JobAppliedEditIndexSGStatusList>((Map<String, dynamic> e) => JobAppliedEditIndexSGStatusList.fromJson(e)).toList() as M;
  366. }
  367. if (<JobAppliedIndexSGEntity>[] is M) {
  368. return data.map<JobAppliedIndexSGEntity>((Map<String, dynamic> e) => JobAppliedIndexSGEntity.fromJson(e)).toList() as M;
  369. }
  370. if (<JobAppliedIndexSGStatusList>[] is M) {
  371. return data.map<JobAppliedIndexSGStatusList>((Map<String, dynamic> e) => JobAppliedIndexSGStatusList.fromJson(e)).toList() as M;
  372. }
  373. if (<JobAppliedListSGEntity>[] is M) {
  374. return data.map<JobAppliedListSGEntity>((Map<String, dynamic> e) => JobAppliedListSGEntity.fromJson(e)).toList() as M;
  375. }
  376. if (<JobAppliedListSGRows>[] is M) {
  377. return data.map<JobAppliedListSGRows>((Map<String, dynamic> e) => JobAppliedListSGRows.fromJson(e)).toList() as M;
  378. }
  379. if (<JobAppliedListSGRowsCheck>[] is M) {
  380. return data.map<JobAppliedListSGRowsCheck>((Map<String, dynamic> e) => JobAppliedListSGRowsCheck.fromJson(e)).toList() as M;
  381. }
  382. if (<JobAppliedListSGRowsStatusList>[] is M) {
  383. return data.map<JobAppliedListSGRowsStatusList>((Map<String, dynamic> e) => JobAppliedListSGRowsStatusList.fromJson(e)).toList() as M;
  384. }
  385. if (<JobAppliedRemarkViewSGEntity>[] is M) {
  386. return data.map<JobAppliedRemarkViewSGEntity>((Map<String, dynamic> e) => JobAppliedRemarkViewSGEntity.fromJson(e)).toList() as M;
  387. }
  388. if (<JobAppliedStaffSGEntity>[] is M) {
  389. return data.map<JobAppliedStaffSGEntity>((Map<String, dynamic> e) => JobAppliedStaffSGEntity.fromJson(e)).toList() as M;
  390. }
  391. if (<JobAppliedStaffSGRows>[] is M) {
  392. return data.map<JobAppliedStaffSGRows>((Map<String, dynamic> e) => JobAppliedStaffSGRows.fromJson(e)).toList() as M;
  393. }
  394. if (<JobListAddStaffEntity>[] is M) {
  395. return data.map<JobListAddStaffEntity>((Map<String, dynamic> e) => JobListAddStaffEntity.fromJson(e)).toList() as M;
  396. }
  397. if (<JobListAddStaffResultList>[] is M) {
  398. return data.map<JobListAddStaffResultList>((Map<String, dynamic> e) => JobListAddStaffResultList.fromJson(e)).toList() as M;
  399. }
  400. if (<JobListAppliedEditEntity>[] is M) {
  401. return data.map<JobListAppliedEditEntity>((Map<String, dynamic> e) => JobListAppliedEditEntity.fromJson(e)).toList() as M;
  402. }
  403. if (<JobListAppliedEditReasonList>[] is M) {
  404. return data.map<JobListAppliedEditReasonList>((Map<String, dynamic> e) => JobListAppliedEditReasonList.fromJson(e)).toList() as M;
  405. }
  406. if (<JobListAppliedInfoEntity>[] is M) {
  407. return data.map<JobListAppliedInfoEntity>((Map<String, dynamic> e) => JobListAppliedInfoEntity.fromJson(e)).toList() as M;
  408. }
  409. if (<JobListAppliedStaffListEntity>[] is M) {
  410. return data.map<JobListAppliedStaffListEntity>((Map<String, dynamic> e) => JobListAppliedStaffListEntity.fromJson(e)).toList() as M;
  411. }
  412. if (<JobListAppliedStaffListRows>[] is M) {
  413. return data.map<JobListAppliedStaffListRows>((Map<String, dynamic> e) => JobListAppliedStaffListRows.fromJson(e)).toList() as M;
  414. }
  415. if (<JobListAppliedStaffListRowsSecurityIn>[] is M) {
  416. return data.map<JobListAppliedStaffListRowsSecurityIn>((Map<String, dynamic> e) => JobListAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
  417. }
  418. if (<JobListAppliedStaffListRowsSecurityOut>[] is M) {
  419. return data.map<JobListAppliedStaffListRowsSecurityOut>((Map<String, dynamic> e) => JobListAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
  420. }
  421. if (<JobListAppliedStaffListRowsWorkIn>[] is M) {
  422. return data.map<JobListAppliedStaffListRowsWorkIn>((Map<String, dynamic> e) => JobListAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
  423. }
  424. if (<JobListAppliedStaffListRowsWorkOut>[] is M) {
  425. return data.map<JobListAppliedStaffListRowsWorkOut>((Map<String, dynamic> e) => JobListAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
  426. }
  427. if (<JobListAppliedStaffSearchEntity>[] is M) {
  428. return data.map<JobListAppliedStaffSearchEntity>((Map<String, dynamic> e) => JobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
  429. }
  430. if (<JobListAppliedStaffSearchRows>[] is M) {
  431. return data.map<JobListAppliedStaffSearchRows>((Map<String, dynamic> e) => JobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
  432. }
  433. if (<JobListAppliedWorkFlowEntity>[] is M) {
  434. return data.map<JobListAppliedWorkFlowEntity>((Map<String, dynamic> e) => JobListAppliedWorkFlowEntity.fromJson(e)).toList() as M;
  435. }
  436. if (<JobListAppliedWorkFlowRecords>[] is M) {
  437. return data.map<JobListAppliedWorkFlowRecords>((Map<String, dynamic> e) => JobListAppliedWorkFlowRecords.fromJson(e)).toList() as M;
  438. }
  439. if (<JobListDetailEntity>[] is M) {
  440. return data.map<JobListDetailEntity>((Map<String, dynamic> e) => JobListDetailEntity.fromJson(e)).toList() as M;
  441. }
  442. if (<JobListDetailDepartmentList>[] is M) {
  443. return data.map<JobListDetailDepartmentList>((Map<String, dynamic> e) => JobListDetailDepartmentList.fromJson(e)).toList() as M;
  444. }
  445. if (<JobListERDetailEntity>[] is M) {
  446. return data.map<JobListERDetailEntity>((Map<String, dynamic> e) => JobListERDetailEntity.fromJson(e)).toList() as M;
  447. }
  448. if (<JobListERDetailJob>[] is M) {
  449. return data.map<JobListERDetailJob>((Map<String, dynamic> e) => JobListERDetailJob.fromJson(e)).toList() as M;
  450. }
  451. if (<JobListEROptionEntity>[] is M) {
  452. return data.map<JobListEROptionEntity>((Map<String, dynamic> e) => JobListEROptionEntity.fromJson(e)).toList() as M;
  453. }
  454. if (<JobListEROptionFilter>[] is M) {
  455. return data.map<JobListEROptionFilter>((Map<String, dynamic> e) => JobListEROptionFilter.fromJson(e)).toList() as M;
  456. }
  457. if (<JobListEditIndexSGEntity>[] is M) {
  458. return data.map<JobListEditIndexSGEntity>((Map<String, dynamic> e) => JobListEditIndexSGEntity.fromJson(e)).toList() as M;
  459. }
  460. if (<JobListEditIndexOption>[] is M) {
  461. return data.map<JobListEditIndexOption>((Map<String, dynamic> e) => JobListEditIndexOption.fromJson(e)).toList() as M;
  462. }
  463. if (<JobListEntity>[] is M) {
  464. return data.map<JobListEntity>((Map<String, dynamic> e) => JobListEntity.fromJson(e)).toList() as M;
  465. }
  466. if (<JobListRows>[] is M) {
  467. return data.map<JobListRows>((Map<String, dynamic> e) => JobListRows.fromJson(e)).toList() as M;
  468. }
  469. if (<JobListIndexEntity>[] is M) {
  470. return data.map<JobListIndexEntity>((Map<String, dynamic> e) => JobListIndexEntity.fromJson(e)).toList() as M;
  471. }
  472. if (<JobListIndexDepartmentList>[] is M) {
  473. return data.map<JobListIndexDepartmentList>((Map<String, dynamic> e) => JobListIndexDepartmentList.fromJson(e)).toList() as M;
  474. }
  475. if (<JobListIndexStatusList>[] is M) {
  476. return data.map<JobListIndexStatusList>((Map<String, dynamic> e) => JobListIndexStatusList.fromJson(e)).toList() as M;
  477. }
  478. if (<JobListIndexSGEntity>[] is M) {
  479. return data.map<JobListIndexSGEntity>((Map<String, dynamic> e) => JobListIndexSGEntity.fromJson(e)).toList() as M;
  480. }
  481. if (<JobListIndexSGOption>[] is M) {
  482. return data.map<JobListIndexSGOption>((Map<String, dynamic> e) => JobListIndexSGOption.fromJson(e)).toList() as M;
  483. }
  484. if (<JobListRemarkViewEntity>[] is M) {
  485. return data.map<JobListRemarkViewEntity>((Map<String, dynamic> e) => JobListRemarkViewEntity.fromJson(e)).toList() as M;
  486. }
  487. if (<JobListSGEntity>[] is M) {
  488. return data.map<JobListSGEntity>((Map<String, dynamic> e) => JobListSGEntity.fromJson(e)).toList() as M;
  489. }
  490. if (<JobListSGRows>[] is M) {
  491. return data.map<JobListSGRows>((Map<String, dynamic> e) => JobListSGRows.fromJson(e)).toList() as M;
  492. }
  493. if (<JobTemplateEditIndexEntity>[] is M) {
  494. return data.map<JobTemplateEditIndexEntity>((Map<String, dynamic> e) => JobTemplateEditIndexEntity.fromJson(e)).toList() as M;
  495. }
  496. if (<JobTemplateEditIndexAgeList>[] is M) {
  497. return data.map<JobTemplateEditIndexAgeList>((Map<String, dynamic> e) => JobTemplateEditIndexAgeList.fromJson(e)).toList() as M;
  498. }
  499. if (<JobTemplateEditIndexSexList>[] is M) {
  500. return data.map<JobTemplateEditIndexSexList>((Map<String, dynamic> e) => JobTemplateEditIndexSexList.fromJson(e)).toList() as M;
  501. }
  502. if (<JobTemplateEditIndexLanguageList>[] is M) {
  503. return data.map<JobTemplateEditIndexLanguageList>((Map<String, dynamic> e) => JobTemplateEditIndexLanguageList.fromJson(e)).toList() as M;
  504. }
  505. if (<JobTemplateSGEntity>[] is M) {
  506. return data.map<JobTemplateSGEntity>((Map<String, dynamic> e) => JobTemplateSGEntity.fromJson(e)).toList() as M;
  507. }
  508. if (<JobTemplateSGRows>[] is M) {
  509. return data.map<JobTemplateSGRows>((Map<String, dynamic> e) => JobTemplateSGRows.fromJson(e)).toList() as M;
  510. }
  511. if (<JobTitleEditIndexEntity>[] is M) {
  512. return data.map<JobTitleEditIndexEntity>((Map<String, dynamic> e) => JobTitleEditIndexEntity.fromJson(e)).toList() as M;
  513. }
  514. if (<JobTitleEditIndexTemplate>[] is M) {
  515. return data.map<JobTitleEditIndexTemplate>((Map<String, dynamic> e) => JobTitleEditIndexTemplate.fromJson(e)).toList() as M;
  516. }
  517. if (<JobTitleSGEntity>[] is M) {
  518. return data.map<JobTitleSGEntity>((Map<String, dynamic> e) => JobTitleSGEntity.fromJson(e)).toList() as M;
  519. }
  520. if (<JobTitleSGRows>[] is M) {
  521. return data.map<JobTitleSGRows>((Map<String, dynamic> e) => JobTitleSGRows.fromJson(e)).toList() as M;
  522. }
  523. if (<LabourListEREntity>[] is M) {
  524. return data.map<LabourListEREntity>((Map<String, dynamic> e) => LabourListEREntity.fromJson(e)).toList() as M;
  525. }
  526. if (<LabourListERRows>[] is M) {
  527. return data.map<LabourListERRows>((Map<String, dynamic> e) => LabourListERRows.fromJson(e)).toList() as M;
  528. }
  529. if (<LabourReportEntity>[] is M) {
  530. return data.map<LabourReportEntity>((Map<String, dynamic> e) => LabourReportEntity.fromJson(e)).toList() as M;
  531. }
  532. if (<LabourReportRows>[] is M) {
  533. return data.map<LabourReportRows>((Map<String, dynamic> e) => LabourReportRows.fromJson(e)).toList() as M;
  534. }
  535. if (<LabourReportTotal>[] is M) {
  536. return data.map<LabourReportTotal>((Map<String, dynamic> e) => LabourReportTotal.fromJson(e)).toList() as M;
  537. }
  538. if (<LabourReportVNEntity>[] is M) {
  539. return data.map<LabourReportVNEntity>((Map<String, dynamic> e) => LabourReportVNEntity.fromJson(e)).toList() as M;
  540. }
  541. if (<LabourReportVNRows>[] is M) {
  542. return data.map<LabourReportVNRows>((Map<String, dynamic> e) => LabourReportVNRows.fromJson(e)).toList() as M;
  543. }
  544. if (<LabourReportVNTotal>[] is M) {
  545. return data.map<LabourReportVNTotal>((Map<String, dynamic> e) => LabourReportVNTotal.fromJson(e)).toList() as M;
  546. }
  547. if (<LabourRequestEREntity>[] is M) {
  548. return data.map<LabourRequestEREntity>((Map<String, dynamic> e) => LabourRequestEREntity.fromJson(e)).toList() as M;
  549. }
  550. if (<LabourRequestERCountList>[] is M) {
  551. return data.map<LabourRequestERCountList>((Map<String, dynamic> e) => LabourRequestERCountList.fromJson(e)).toList() as M;
  552. }
  553. if (<LabourRequestERSourceList>[] is M) {
  554. return data.map<LabourRequestERSourceList>((Map<String, dynamic> e) => LabourRequestERSourceList.fromJson(e)).toList() as M;
  555. }
  556. if (<LabourRequestERSourceListRequestList>[] is M) {
  557. return data.map<LabourRequestERSourceListRequestList>((Map<String, dynamic> e) => LabourRequestERSourceListRequestList.fromJson(e)).toList() as M;
  558. }
  559. if (<LabourRequestEROptionEntity>[] is M) {
  560. return data.map<LabourRequestEROptionEntity>((Map<String, dynamic> e) => LabourRequestEROptionEntity.fromJson(e)).toList() as M;
  561. }
  562. if (<LabourRequestEditIndexEntity>[] is M) {
  563. return data.map<LabourRequestEditIndexEntity>((Map<String, dynamic> e) => LabourRequestEditIndexEntity.fromJson(e)).toList() as M;
  564. }
  565. if (<LabourRequestEditIndexTemplateList>[] is M) {
  566. return data.map<LabourRequestEditIndexTemplateList>((Map<String, dynamic> e) => LabourRequestEditIndexTemplateList.fromJson(e)).toList() as M;
  567. }
  568. if (<LabourRequestEditIndexDepartmentList>[] is M) {
  569. return data.map<LabourRequestEditIndexDepartmentList>((Map<String, dynamic> e) => LabourRequestEditIndexDepartmentList.fromJson(e)).toList() as M;
  570. }
  571. if (<LabourRequestIndexEntity>[] is M) {
  572. return data.map<LabourRequestIndexEntity>((Map<String, dynamic> e) => LabourRequestIndexEntity.fromJson(e)).toList() as M;
  573. }
  574. if (<LabourRequestIndexDepartmentList>[] is M) {
  575. return data.map<LabourRequestIndexDepartmentList>((Map<String, dynamic> e) => LabourRequestIndexDepartmentList.fromJson(e)).toList() as M;
  576. }
  577. if (<LabourRequestIndexStatusList>[] is M) {
  578. return data.map<LabourRequestIndexStatusList>((Map<String, dynamic> e) => LabourRequestIndexStatusList.fromJson(e)).toList() as M;
  579. }
  580. if (<LabourRequestListEntity>[] is M) {
  581. return data.map<LabourRequestListEntity>((Map<String, dynamic> e) => LabourRequestListEntity.fromJson(e)).toList() as M;
  582. }
  583. if (<LabourRequestListRows>[] is M) {
  584. return data.map<LabourRequestListRows>((Map<String, dynamic> e) => LabourRequestListRows.fromJson(e)).toList() as M;
  585. }
  586. if (<LabourRequestWorkFlowEntity>[] is M) {
  587. return data.map<LabourRequestWorkFlowEntity>((Map<String, dynamic> e) => LabourRequestWorkFlowEntity.fromJson(e)).toList() as M;
  588. }
  589. if (<LabourRequestWorkFlowRecords>[] is M) {
  590. return data.map<LabourRequestWorkFlowRecords>((Map<String, dynamic> e) => LabourRequestWorkFlowRecords.fromJson(e)).toList() as M;
  591. }
  592. if (<LabourReviewListEntity>[] is M) {
  593. return data.map<LabourReviewListEntity>((Map<String, dynamic> e) => LabourReviewListEntity.fromJson(e)).toList() as M;
  594. }
  595. if (<LabourReviewListRows>[] is M) {
  596. return data.map<LabourReviewListRows>((Map<String, dynamic> e) => LabourReviewListRows.fromJson(e)).toList() as M;
  597. }
  598. if (<LabourReviewStatusEntity>[] is M) {
  599. return data.map<LabourReviewStatusEntity>((Map<String, dynamic> e) => LabourReviewStatusEntity.fromJson(e)).toList() as M;
  600. }
  601. if (<LabourReviewStatusRecords>[] is M) {
  602. return data.map<LabourReviewStatusRecords>((Map<String, dynamic> e) => LabourReviewStatusRecords.fromJson(e)).toList() as M;
  603. }
  604. if (<PositionTableEntity>[] is M) {
  605. return data.map<PositionTableEntity>((Map<String, dynamic> e) => PositionTableEntity.fromJson(e)).toList() as M;
  606. }
  607. if (<PositionTableRows>[] is M) {
  608. return data.map<PositionTableRows>((Map<String, dynamic> e) => PositionTableRows.fromJson(e)).toList() as M;
  609. }
  610. if (<ReviseIndexSGEntity>[] is M) {
  611. return data.map<ReviseIndexSGEntity>((Map<String, dynamic> e) => ReviseIndexSGEntity.fromJson(e)).toList() as M;
  612. }
  613. if (<ReviseIndexSGStatusList>[] is M) {
  614. return data.map<ReviseIndexSGStatusList>((Map<String, dynamic> e) => ReviseIndexSGStatusList.fromJson(e)).toList() as M;
  615. }
  616. if (<ReviseListSGEntity>[] is M) {
  617. return data.map<ReviseListSGEntity>((Map<String, dynamic> e) => ReviseListSGEntity.fromJson(e)).toList() as M;
  618. }
  619. if (<ReviseListSGRows>[] is M) {
  620. return data.map<ReviseListSGRows>((Map<String, dynamic> e) => ReviseListSGRows.fromJson(e)).toList() as M;
  621. }
  622. if (<ReviseLogSGEntity>[] is M) {
  623. return data.map<ReviseLogSGEntity>((Map<String, dynamic> e) => ReviseLogSGEntity.fromJson(e)).toList() as M;
  624. }
  625. if (<ReviseLogSGRecords>[] is M) {
  626. return data.map<ReviseLogSGRecords>((Map<String, dynamic> e) => ReviseLogSGRecords.fromJson(e)).toList() as M;
  627. }
  628. if (<ReviseLogSGRecordsContent>[] is M) {
  629. return data.map<ReviseLogSGRecordsContent>((Map<String, dynamic> e) => ReviseLogSGRecordsContent.fromJson(e)).toList() as M;
  630. }
  631. if (<ReviseLogSGRecordsOption>[] is M) {
  632. return data.map<ReviseLogSGRecordsOption>((Map<String, dynamic> e) => ReviseLogSGRecordsOption.fromJson(e)).toList() as M;
  633. }
  634. if (<ReviseOptionEntity>[] is M) {
  635. return data.map<ReviseOptionEntity>((Map<String, dynamic> e) => ReviseOptionEntity.fromJson(e)).toList() as M;
  636. }
  637. if (<SGAttendanceReviewOptionEntity>[] is M) {
  638. return data.map<SGAttendanceReviewOptionEntity>((Map<String, dynamic> e) => SGAttendanceReviewOptionEntity.fromJson(e)).toList() as M;
  639. }
  640. if (<SGAttendanceReviewTableEntity>[] is M) {
  641. return data.map<SGAttendanceReviewTableEntity>((Map<String, dynamic> e) => SGAttendanceReviewTableEntity.fromJson(e)).toList() as M;
  642. }
  643. if (<SGAttendanceReviewTableRows>[] is M) {
  644. return data.map<SGAttendanceReviewTableRows>((Map<String, dynamic> e) => SGAttendanceReviewTableRows.fromJson(e)).toList() as M;
  645. }
  646. if (<SGAttendanceReviewTableRowsCheck>[] is M) {
  647. return data.map<SGAttendanceReviewTableRowsCheck>((Map<String, dynamic> e) => SGAttendanceReviewTableRowsCheck.fromJson(e)).toList() as M;
  648. }
  649. if (<SGAttendanceReviewWorkflowEntity>[] is M) {
  650. return data.map<SGAttendanceReviewWorkflowEntity>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowEntity.fromJson(e)).toList() as M;
  651. }
  652. if (<SGAttendanceReviewWorkflowRow>[] is M) {
  653. return data.map<SGAttendanceReviewWorkflowRow>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowRow.fromJson(e)).toList() as M;
  654. }
  655. if (<SGAttendanceReviewWorkflowRecords>[] is M) {
  656. return data.map<SGAttendanceReviewWorkflowRecords>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowRecords.fromJson(e)).toList() as M;
  657. }
  658. if (<SGDashboardEntity>[] is M) {
  659. return data.map<SGDashboardEntity>((Map<String, dynamic> e) => SGDashboardEntity.fromJson(e)).toList() as M;
  660. }
  661. if (<SGDashboardAgencyList>[] is M) {
  662. return data.map<SGDashboardAgencyList>((Map<String, dynamic> e) => SGDashboardAgencyList.fromJson(e)).toList() as M;
  663. }
  664. if (<SGDashboardAgencyListDays>[] is M) {
  665. return data.map<SGDashboardAgencyListDays>((Map<String, dynamic> e) => SGDashboardAgencyListDays.fromJson(e)).toList() as M;
  666. }
  667. if (<SGLabourRequestAddOptionEntity>[] is M) {
  668. return data.map<SGLabourRequestAddOptionEntity>((Map<String, dynamic> e) => SGLabourRequestAddOptionEntity.fromJson(e)).toList() as M;
  669. }
  670. if (<LabourRequestAgencyEntity>[] is M) {
  671. return data.map<LabourRequestAgencyEntity>((Map<String, dynamic> e) => LabourRequestAgencyEntity.fromJson(e)).toList() as M;
  672. }
  673. if (<SGLabourRequestDetailEntity>[] is M) {
  674. return data.map<SGLabourRequestDetailEntity>((Map<String, dynamic> e) => SGLabourRequestDetailEntity.fromJson(e)).toList() as M;
  675. }
  676. if (<SGLabourRequestDetailLabReq>[] is M) {
  677. return data.map<SGLabourRequestDetailLabReq>((Map<String, dynamic> e) => SGLabourRequestDetailLabReq.fromJson(e)).toList() as M;
  678. }
  679. if (<SGLabourRequestOptionEntity>[] is M) {
  680. return data.map<SGLabourRequestOptionEntity>((Map<String, dynamic> e) => SGLabourRequestOptionEntity.fromJson(e)).toList() as M;
  681. }
  682. if (<SGLabourRequestTableEntity>[] is M) {
  683. return data.map<SGLabourRequestTableEntity>((Map<String, dynamic> e) => SGLabourRequestTableEntity.fromJson(e)).toList() as M;
  684. }
  685. if (<SGLabourRequestTableRows>[] is M) {
  686. return data.map<SGLabourRequestTableRows>((Map<String, dynamic> e) => SGLabourRequestTableRows.fromJson(e)).toList() as M;
  687. }
  688. if (<SGLabourRequestWorlFlowEntity>[] is M) {
  689. return data.map<SGLabourRequestWorlFlowEntity>((Map<String, dynamic> e) => SGLabourRequestWorlFlowEntity.fromJson(e)).toList() as M;
  690. }
  691. if (<SGLabourRequestWorlFlowRow>[] is M) {
  692. return data.map<SGLabourRequestWorlFlowRow>((Map<String, dynamic> e) => SGLabourRequestWorlFlowRow.fromJson(e)).toList() as M;
  693. }
  694. if (<SGLabourRequestWorlFlowRecords>[] is M) {
  695. return data.map<SGLabourRequestWorlFlowRecords>((Map<String, dynamic> e) => SGLabourRequestWorlFlowRecords.fromJson(e)).toList() as M;
  696. }
  697. if (<SGLabourReviewOptionEntity>[] is M) {
  698. return data.map<SGLabourReviewOptionEntity>((Map<String, dynamic> e) => SGLabourReviewOptionEntity.fromJson(e)).toList() as M;
  699. }
  700. if (<SGLabourReviewTableEntity>[] is M) {
  701. return data.map<SGLabourReviewTableEntity>((Map<String, dynamic> e) => SGLabourReviewTableEntity.fromJson(e)).toList() as M;
  702. }
  703. if (<SGLabourReviewTableRows>[] is M) {
  704. return data.map<SGLabourReviewTableRows>((Map<String, dynamic> e) => SGLabourReviewTableRows.fromJson(e)).toList() as M;
  705. }
  706. if (<SignInSignOutEntity>[] is M) {
  707. return data.map<SignInSignOutEntity>((Map<String, dynamic> e) => SignInSignOutEntity.fromJson(e)).toList() as M;
  708. }
  709. if (<SignInSignOutRows>[] is M) {
  710. return data.map<SignInSignOutRows>((Map<String, dynamic> e) => SignInSignOutRows.fromJson(e)).toList() as M;
  711. }
  712. if (<StaffDetailEntity>[] is M) {
  713. return data.map<StaffDetailEntity>((Map<String, dynamic> e) => StaffDetailEntity.fromJson(e)).toList() as M;
  714. }
  715. if (<StaffDetailSGEntity>[] is M) {
  716. return data.map<StaffDetailSGEntity>((Map<String, dynamic> e) => StaffDetailSGEntity.fromJson(e)).toList() as M;
  717. }
  718. if (<StaffDetailSGReviews>[] is M) {
  719. return data.map<StaffDetailSGReviews>((Map<String, dynamic> e) => StaffDetailSGReviews.fromJson(e)).toList() as M;
  720. }
  721. if (<StaffDetailSGReviewsReviews>[] is M) {
  722. return data.map<StaffDetailSGReviewsReviews>((Map<String, dynamic> e) => StaffDetailSGReviewsReviews.fromJson(e)).toList() as M;
  723. }
  724. if (<StaffJobHistorySGEntity>[] is M) {
  725. return data.map<StaffJobHistorySGEntity>((Map<String, dynamic> e) => StaffJobHistorySGEntity.fromJson(e)).toList() as M;
  726. }
  727. if (<StaffJobHistorySGRows>[] is M) {
  728. return data.map<StaffJobHistorySGRows>((Map<String, dynamic> e) => StaffJobHistorySGRows.fromJson(e)).toList() as M;
  729. }
  730. if (<StaffLabourHistoryEntity>[] is M) {
  731. return data.map<StaffLabourHistoryEntity>((Map<String, dynamic> e) => StaffLabourHistoryEntity.fromJson(e)).toList() as M;
  732. }
  733. if (<StaffLabourHistoryRows>[] is M) {
  734. return data.map<StaffLabourHistoryRows>((Map<String, dynamic> e) => StaffLabourHistoryRows.fromJson(e)).toList() as M;
  735. }
  736. if (<StaffLabourHistoryRowsSecurityIn>[] is M) {
  737. return data.map<StaffLabourHistoryRowsSecurityIn>((Map<String, dynamic> e) => StaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
  738. }
  739. if (<StaffLabourHistoryRowsSecurityOut>[] is M) {
  740. return data.map<StaffLabourHistoryRowsSecurityOut>((Map<String, dynamic> e) => StaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
  741. }
  742. if (<StaffLabourHistoryRowsWorkIn>[] is M) {
  743. return data.map<StaffLabourHistoryRowsWorkIn>((Map<String, dynamic> e) => StaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M;
  744. }
  745. if (<StaffLabourHistoryRowsWorkOut>[] is M) {
  746. return data.map<StaffLabourHistoryRowsWorkOut>((Map<String, dynamic> e) => StaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
  747. }
  748. if (<StaffRemarkHistoryEntity>[] is M) {
  749. return data.map<StaffRemarkHistoryEntity>((Map<String, dynamic> e) => StaffRemarkHistoryEntity.fromJson(e)).toList() as M;
  750. }
  751. if (<StaffRemarkHistoryRows>[] is M) {
  752. return data.map<StaffRemarkHistoryRows>((Map<String, dynamic> e) => StaffRemarkHistoryRows.fromJson(e)).toList() as M;
  753. }
  754. if (<StaffReportVNEntity>[] is M) {
  755. return data.map<StaffReportVNEntity>((Map<String, dynamic> e) => StaffReportVNEntity.fromJson(e)).toList() as M;
  756. }
  757. if (<StaffRequestReportEntity>[] is M) {
  758. return data.map<StaffRequestReportEntity>((Map<String, dynamic> e) => StaffRequestReportEntity.fromJson(e)).toList() as M;
  759. }
  760. if (<StaffReviewHistorySGEntity>[] is M) {
  761. return data.map<StaffReviewHistorySGEntity>((Map<String, dynamic> e) => StaffReviewHistorySGEntity.fromJson(e)).toList() as M;
  762. }
  763. if (<StaffReviewHistorySGReviews>[] is M) {
  764. return data.map<StaffReviewHistorySGReviews>((Map<String, dynamic> e) => StaffReviewHistorySGReviews.fromJson(e)).toList() as M;
  765. }
  766. if (<SwitchProjectEntity>[] is M) {
  767. return data.map<SwitchProjectEntity>((Map<String, dynamic> e) => SwitchProjectEntity.fromJson(e)).toList() as M;
  768. }
  769. if (<SwitchProjectUserList>[] is M) {
  770. return data.map<SwitchProjectUserList>((Map<String, dynamic> e) => SwitchProjectUserList.fromJson(e)).toList() as M;
  771. }
  772. if (<THAppliedEditEntity>[] is M) {
  773. return data.map<THAppliedEditEntity>((Map<String, dynamic> e) => THAppliedEditEntity.fromJson(e)).toList() as M;
  774. }
  775. if (<THAppliedEditApplied>[] is M) {
  776. return data.map<THAppliedEditApplied>((Map<String, dynamic> e) => THAppliedEditApplied.fromJson(e)).toList() as M;
  777. }
  778. if (<THAppliedEmployeeEntity>[] is M) {
  779. return data.map<THAppliedEmployeeEntity>((Map<String, dynamic> e) => THAppliedEmployeeEntity.fromJson(e)).toList() as M;
  780. }
  781. if (<THAppliedEmployeeRows>[] is M) {
  782. return data.map<THAppliedEmployeeRows>((Map<String, dynamic> e) => THAppliedEmployeeRows.fromJson(e)).toList() as M;
  783. }
  784. if (<THAppliedIndexEntity>[] is M) {
  785. return data.map<THAppliedIndexEntity>((Map<String, dynamic> e) => THAppliedIndexEntity.fromJson(e)).toList() as M;
  786. }
  787. if (<THAppliedIndexJob>[] is M) {
  788. return data.map<THAppliedIndexJob>((Map<String, dynamic> e) => THAppliedIndexJob.fromJson(e)).toList() as M;
  789. }
  790. if (<THAppliedTableEntity>[] is M) {
  791. return data.map<THAppliedTableEntity>((Map<String, dynamic> e) => THAppliedTableEntity.fromJson(e)).toList() as M;
  792. }
  793. if (<THAppliedTableRows>[] is M) {
  794. return data.map<THAppliedTableRows>((Map<String, dynamic> e) => THAppliedTableRows.fromJson(e)).toList() as M;
  795. }
  796. if (<THAppliedTableCheckInOut>[] is M) {
  797. return data.map<THAppliedTableCheckInOut>((Map<String, dynamic> e) => THAppliedTableCheckInOut.fromJson(e)).toList() as M;
  798. }
  799. if (<THEmployeeDetailEntity>[] is M) {
  800. return data.map<THEmployeeDetailEntity>((Map<String, dynamic> e) => THEmployeeDetailEntity.fromJson(e)).toList() as M;
  801. }
  802. if (<THEmployeeDetailStaff>[] is M) {
  803. return data.map<THEmployeeDetailStaff>((Map<String, dynamic> e) => THEmployeeDetailStaff.fromJson(e)).toList() as M;
  804. }
  805. if (<THEmployeeDetailReviews>[] is M) {
  806. return data.map<THEmployeeDetailReviews>((Map<String, dynamic> e) => THEmployeeDetailReviews.fromJson(e)).toList() as M;
  807. }
  808. if (<THEmployeeRemarksEntity>[] is M) {
  809. return data.map<THEmployeeRemarksEntity>((Map<String, dynamic> e) => THEmployeeRemarksEntity.fromJson(e)).toList() as M;
  810. }
  811. if (<THEmployeeRemarksReviews>[] is M) {
  812. return data.map<THEmployeeRemarksReviews>((Map<String, dynamic> e) => THEmployeeRemarksReviews.fromJson(e)).toList() as M;
  813. }
  814. if (<THOAAttachmentEntity>[] is M) {
  815. return data.map<THOAAttachmentEntity>((Map<String, dynamic> e) => THOAAttachmentEntity.fromJson(e)).toList() as M;
  816. }
  817. if (<THOAAttachmentRows>[] is M) {
  818. return data.map<THOAAttachmentRows>((Map<String, dynamic> e) => THOAAttachmentRows.fromJson(e)).toList() as M;
  819. }
  820. if (<THOALabourDetailEntity>[] is M) {
  821. return data.map<THOALabourDetailEntity>((Map<String, dynamic> e) => THOALabourDetailEntity.fromJson(e)).toList() as M;
  822. }
  823. if (<THOALabourDetailLabourRequest>[] is M) {
  824. return data.map<THOALabourDetailLabourRequest>((Map<String, dynamic> e) => THOALabourDetailLabourRequest.fromJson(e)).toList() as M;
  825. }
  826. if (<THOALabourReviewTableEntity>[] is M) {
  827. return data.map<THOALabourReviewTableEntity>((Map<String, dynamic> e) => THOALabourReviewTableEntity.fromJson(e)).toList() as M;
  828. }
  829. if (<THOALabourReviewTableRows>[] is M) {
  830. return data.map<THOALabourReviewTableRows>((Map<String, dynamic> e) => THOALabourReviewTableRows.fromJson(e)).toList() as M;
  831. }
  832. if (<THOALabourTableEntity>[] is M) {
  833. return data.map<THOALabourTableEntity>((Map<String, dynamic> e) => THOALabourTableEntity.fromJson(e)).toList() as M;
  834. }
  835. if (<THOALabourTableRows>[] is M) {
  836. return data.map<THOALabourTableRows>((Map<String, dynamic> e) => THOALabourTableRows.fromJson(e)).toList() as M;
  837. }
  838. if (<THPreSelectedOptionEntity>[] is M) {
  839. return data.map<THPreSelectedOptionEntity>((Map<String, dynamic> e) => THPreSelectedOptionEntity.fromJson(e)).toList() as M;
  840. }
  841. if (<THPreSelectedStaffTableEntity>[] is M) {
  842. return data.map<THPreSelectedStaffTableEntity>((Map<String, dynamic> e) => THPreSelectedStaffTableEntity.fromJson(e)).toList() as M;
  843. }
  844. if (<THPreSelectedStaffTableRows>[] is M) {
  845. return data.map<THPreSelectedStaffTableRows>((Map<String, dynamic> e) => THPreSelectedStaffTableRows.fromJson(e)).toList() as M;
  846. }
  847. if (<THPreSelectedTableEntity>[] is M) {
  848. return data.map<THPreSelectedTableEntity>((Map<String, dynamic> e) => THPreSelectedTableEntity.fromJson(e)).toList() as M;
  849. }
  850. if (<THPreSelectedTableRows>[] is M) {
  851. return data.map<THPreSelectedTableRows>((Map<String, dynamic> e) => THPreSelectedTableRows.fromJson(e)).toList() as M;
  852. }
  853. if (<THReviseDetailEntity>[] is M) {
  854. return data.map<THReviseDetailEntity>((Map<String, dynamic> e) => THReviseDetailEntity.fromJson(e)).toList() as M;
  855. }
  856. if (<THReviseTableEntity>[] is M) {
  857. return data.map<THReviseTableEntity>((Map<String, dynamic> e) => THReviseTableEntity.fromJson(e)).toList() as M;
  858. }
  859. if (<THReviseTableRows>[] is M) {
  860. return data.map<THReviseTableRows>((Map<String, dynamic> e) => THReviseTableRows.fromJson(e)).toList() as M;
  861. }
  862. if (<THReviseWorkflowEntity>[] is M) {
  863. return data.map<THReviseWorkflowEntity>((Map<String, dynamic> e) => THReviseWorkflowEntity.fromJson(e)).toList() as M;
  864. }
  865. if (<THReviseWorkflowRevise>[] is M) {
  866. return data.map<THReviseWorkflowRevise>((Map<String, dynamic> e) => THReviseWorkflowRevise.fromJson(e)).toList() as M;
  867. }
  868. if (<THReviseWorkflowReviseApplied>[] is M) {
  869. return data.map<THReviseWorkflowReviseApplied>((Map<String, dynamic> e) => THReviseWorkflowReviseApplied.fromJson(e)).toList() as M;
  870. }
  871. if (<THReviseWorkflowRecords>[] is M) {
  872. return data.map<THReviseWorkflowRecords>((Map<String, dynamic> e) => THReviseWorkflowRecords.fromJson(e)).toList() as M;
  873. }
  874. if (<THReviseWorkflowRecordsContent>[] is M) {
  875. return data.map<THReviseWorkflowRecordsContent>((Map<String, dynamic> e) => THReviseWorkflowRecordsContent.fromJson(e)).toList() as M;
  876. }
  877. if (<THReviseWorkflowRecordsContentReviseHours>[] is M) {
  878. return data.map<THReviseWorkflowRecordsContentReviseHours>((Map<String, dynamic> e) => THReviseWorkflowRecordsContentReviseHours.fromJson(e))
  879. .toList() as M;
  880. }
  881. if (<THReviseWorkflowRecordsContentReviseMsg>[] is M) {
  882. return data.map<THReviseWorkflowRecordsContentReviseMsg>((Map<String, dynamic> e) => THReviseWorkflowRecordsContentReviseMsg.fromJson(e)).toList() as M;
  883. }
  884. if (<THUploadFileEntity>[] is M) {
  885. return data.map<THUploadFileEntity>((Map<String, dynamic> e) => THUploadFileEntity.fromJson(e)).toList() as M;
  886. }
  887. if (<UKAttendanceEntity>[] is M) {
  888. return data.map<UKAttendanceEntity>((Map<String, dynamic> e) => UKAttendanceEntity.fromJson(e)).toList() as M;
  889. }
  890. if (<UKAttendanceRows>[] is M) {
  891. return data.map<UKAttendanceRows>((Map<String, dynamic> e) => UKAttendanceRows.fromJson(e)).toList() as M;
  892. }
  893. if (<UKAttendanceInOut>[] is M) {
  894. return data.map<UKAttendanceInOut>((Map<String, dynamic> e) => UKAttendanceInOut.fromJson(e)).toList() as M;
  895. }
  896. if (<UKReportAttendanceEntity>[] is M) {
  897. return data.map<UKReportAttendanceEntity>((Map<String, dynamic> e) => UKReportAttendanceEntity.fromJson(e)).toList() as M;
  898. }
  899. if (<UKReportAttendanceRows>[] is M) {
  900. return data.map<UKReportAttendanceRows>((Map<String, dynamic> e) => UKReportAttendanceRows.fromJson(e)).toList() as M;
  901. }
  902. if (<UKReportLabourEntity>[] is M) {
  903. return data.map<UKReportLabourEntity>((Map<String, dynamic> e) => UKReportLabourEntity.fromJson(e)).toList() as M;
  904. }
  905. if (<UKReportLabourRows>[] is M) {
  906. return data.map<UKReportLabourRows>((Map<String, dynamic> e) => UKReportLabourRows.fromJson(e)).toList() as M;
  907. }
  908. if (<UKReportWorkingHoursEntity>[] is M) {
  909. return data.map<UKReportWorkingHoursEntity>((Map<String, dynamic> e) => UKReportWorkingHoursEntity.fromJson(e)).toList() as M;
  910. }
  911. if (<UKReportWorkingHoursRows>[] is M) {
  912. return data.map<UKReportWorkingHoursRows>((Map<String, dynamic> e) => UKReportWorkingHoursRows.fromJson(e)).toList() as M;
  913. }
  914. if (<UKSecurityAttendanceEntity>[] is M) {
  915. return data.map<UKSecurityAttendanceEntity>((Map<String, dynamic> e) => UKSecurityAttendanceEntity.fromJson(e)).toList() as M;
  916. }
  917. if (<UKSecurityAttendanceRows>[] is M) {
  918. return data.map<UKSecurityAttendanceRows>((Map<String, dynamic> e) => UKSecurityAttendanceRows.fromJson(e)).toList() as M;
  919. }
  920. if (<UKSecurityInOut>[] is M) {
  921. return data.map<UKSecurityInOut>((Map<String, dynamic> e) => UKSecurityInOut.fromJson(e)).toList() as M;
  922. }
  923. if (<UKSecurityAttendanceOptionEntity>[] is M) {
  924. return data.map<UKSecurityAttendanceOptionEntity>((Map<String, dynamic> e) => UKSecurityAttendanceOptionEntity.fromJson(e)).toList() as M;
  925. }
  926. if (<UKSecurityAttendanceOptionFilter>[] is M) {
  927. return data.map<UKSecurityAttendanceOptionFilter>((Map<String, dynamic> e) => UKSecurityAttendanceOptionFilter.fromJson(e)).toList() as M;
  928. }
  929. if (<UkAttendanceReviewEntity>[] is M) {
  930. return data.map<UkAttendanceReviewEntity>((Map<String, dynamic> e) => UkAttendanceReviewEntity.fromJson(e)).toList() as M;
  931. }
  932. if (<UkAttendanceReviewRows>[] is M) {
  933. return data.map<UkAttendanceReviewRows>((Map<String, dynamic> e) => UkAttendanceReviewRows.fromJson(e)).toList() as M;
  934. }
  935. if (<UkAttendanceReviewRemarkEntity>[] is M) {
  936. return data.map<UkAttendanceReviewRemarkEntity>((Map<String, dynamic> e) => UkAttendanceReviewRemarkEntity.fromJson(e)).toList() as M;
  937. }
  938. if (<UkJobAppliedReviseAddDetailEntity>[] is M) {
  939. return data.map<UkJobAppliedReviseAddDetailEntity>((Map<String, dynamic> e) => UkJobAppliedReviseAddDetailEntity.fromJson(e)).toList() as M;
  940. }
  941. if (<UkJobAppliedReviseAddDetailApplied>[] is M) {
  942. return data.map<UkJobAppliedReviseAddDetailApplied>((Map<String, dynamic> e) => UkJobAppliedReviseAddDetailApplied.fromJson(e)).toList() as M;
  943. }
  944. if (<UkJobAppliedReviseEditDetailEntity>[] is M) {
  945. return data.map<UkJobAppliedReviseEditDetailEntity>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailEntity.fromJson(e)).toList() as M;
  946. }
  947. if (<UkJobAppliedReviseEditDetailApplied>[] is M) {
  948. return data.map<UkJobAppliedReviseEditDetailApplied>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailApplied.fromJson(e)).toList() as M;
  949. }
  950. if (<UkJobAppliedReviseEditDetailRevise>[] is M) {
  951. return data.map<UkJobAppliedReviseEditDetailRevise>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailRevise.fromJson(e)).toList() as M;
  952. }
  953. if (<UkJobAppliedReviseEditDetailReviseApplied>[] is M) {
  954. return data.map<UkJobAppliedReviseEditDetailReviseApplied>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailReviseApplied.fromJson(e))
  955. .toList() as M;
  956. }
  957. if (<UkJobAppliedReviseInfoEntity>[] is M) {
  958. return data.map<UkJobAppliedReviseInfoEntity>((Map<String, dynamic> e) => UkJobAppliedReviseInfoEntity.fromJson(e)).toList() as M;
  959. }
  960. if (<UkJobAppliedReviseInfoRows>[] is M) {
  961. return data.map<UkJobAppliedReviseInfoRows>((Map<String, dynamic> e) => UkJobAppliedReviseInfoRows.fromJson(e)).toList() as M;
  962. }
  963. if (<UkJobAppliedReviseLogEntity>[] is M) {
  964. return data.map<UkJobAppliedReviseLogEntity>((Map<String, dynamic> e) => UkJobAppliedReviseLogEntity.fromJson(e)).toList() as M;
  965. }
  966. if (<UkJobAppliedReviseLogRecords>[] is M) {
  967. return data.map<UkJobAppliedReviseLogRecords>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecords.fromJson(e)).toList() as M;
  968. }
  969. if (<UkJobAppliedReviseLogRecordsContent>[] is M) {
  970. return data.map<UkJobAppliedReviseLogRecordsContent>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContent.fromJson(e)).toList() as M;
  971. }
  972. if (<UkJobAppliedReviseLogRecordsContentReviseHours>[] is M) {
  973. return data.map<UkJobAppliedReviseLogRecordsContentReviseHours>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContentReviseHours.fromJson(e))
  974. .toList() as M;
  975. }
  976. if (<UkJobAppliedReviseLogRecordsContentStatus>[] is M) {
  977. return data.map<UkJobAppliedReviseLogRecordsContentStatus>((
  978. Map<String, dynamic> e) =>
  979. UkJobAppliedReviseLogRecordsContentStatus.fromJson(e)).toList() as M;
  980. }
  981. if (<UkJobAppliedReviseLogRecordsContentReason>[] is M) {
  982. return data.map<UkJobAppliedReviseLogRecordsContentReason>((
  983. Map<String, dynamic> e) =>
  984. UkJobAppliedReviseLogRecordsContentReason.fromJson(e)).toList() as M;
  985. }
  986. if (<UkJobAppliedStaffListEntity>[] is M) {
  987. return data.map<UkJobAppliedStaffListEntity>((Map<String, dynamic> e) =>
  988. UkJobAppliedStaffListEntity.fromJson(e)).toList() as M;
  989. }
  990. if (<UkJobAppliedStaffListRows>[] is M) {
  991. return data.map<UkJobAppliedStaffListRows>((Map<String, dynamic> e) =>
  992. UkJobAppliedStaffListRows.fromJson(e)).toList() as M;
  993. }
  994. if (<UkJobAppliedStaffListRowsSecurityIn>[] is M) {
  995. return data.map<UkJobAppliedStaffListRowsSecurityIn>((
  996. Map<String, dynamic> e) =>
  997. UkJobAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
  998. }
  999. if (<UkJobAppliedStaffListRowsSecurityOut>[] is M) {
  1000. return data.map<UkJobAppliedStaffListRowsSecurityOut>((
  1001. Map<String, dynamic> e) =>
  1002. UkJobAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
  1003. }
  1004. if (<UkJobAppliedStaffListRowsWorkIn>[] is M) {
  1005. return data.map<UkJobAppliedStaffListRowsWorkIn>((
  1006. Map<String, dynamic> e) =>
  1007. UkJobAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
  1008. }
  1009. if (<UkJobAppliedStaffListRowsWorkOut>[] is M) {
  1010. return data.map<UkJobAppliedStaffListRowsWorkOut>((
  1011. Map<String, dynamic> e) =>
  1012. UkJobAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
  1013. }
  1014. if (<UkJobListAppliedStaffSearchEntity>[] is M) {
  1015. return data.map<UkJobListAppliedStaffSearchEntity>((
  1016. Map<String, dynamic> e) =>
  1017. UkJobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
  1018. }
  1019. if (<UkJobListAppliedStaffSearchRows>[] is M) {
  1020. return data.map<UkJobListAppliedStaffSearchRows>((
  1021. Map<String, dynamic> e) =>
  1022. UkJobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
  1023. }
  1024. if (<UkJobListAppliedStaffSelectoptionsEntity>[] is M) {
  1025. return data.map<UkJobListAppliedStaffSelectoptionsEntity>((
  1026. Map<String, dynamic> e) =>
  1027. UkJobListAppliedStaffSelectoptionsEntity.fromJson(e)).toList() as M;
  1028. }
  1029. if (<UkJobTemplateDetailBySelectTitleEntity>[] is M) {
  1030. return data.map<UkJobTemplateDetailBySelectTitleEntity>((
  1031. Map<String, dynamic> e) =>
  1032. UkJobTemplateDetailBySelectTitleEntity.fromJson(e)).toList() as M;
  1033. }
  1034. if (<UkLabReqShowTemplateEntity>[] is M) {
  1035. return data.map<UkLabReqShowTemplateEntity>((Map<String, dynamic> e) =>
  1036. UkLabReqShowTemplateEntity.fromJson(e)).toList() as M;
  1037. }
  1038. if (<UkLabourRequestDetailEntity>[] is M) {
  1039. return data.map<UkLabourRequestDetailEntity>((Map<String, dynamic> e) =>
  1040. UkLabourRequestDetailEntity.fromJson(e)).toList() as M;
  1041. }
  1042. if (<UkLabourRequestDetailCertificateList>[] is M) {
  1043. return data.map<UkLabourRequestDetailCertificateList>((
  1044. Map<String, dynamic> e) =>
  1045. UkLabourRequestDetailCertificateList.fromJson(e)).toList() as M;
  1046. }
  1047. if (<UkLabourRequestDetailVehicleList>[] is M) {
  1048. return data.map<UkLabourRequestDetailVehicleList>((
  1049. Map<String, dynamic> e) =>
  1050. UkLabourRequestDetailVehicleList.fromJson(e)).toList() as M;
  1051. }
  1052. if (<UkLabourRequestDetailChallenge25List>[] is M) {
  1053. return data.map<UkLabourRequestDetailChallenge25List>((
  1054. Map<String, dynamic> e) =>
  1055. UkLabourRequestDetailChallenge25List.fromJson(e)).toList() as M;
  1056. }
  1057. if (<UkLabourRequestDetailTemplateList>[] is M) {
  1058. return data.map<UkLabourRequestDetailTemplateList>((
  1059. Map<String, dynamic> e) =>
  1060. UkLabourRequestDetailTemplateList.fromJson(e)).toList() as M;
  1061. }
  1062. if (<UkLabourRequestDetailDepartmentList>[] is M) {
  1063. return data.map<UkLabourRequestDetailDepartmentList>((
  1064. Map<String, dynamic> e) =>
  1065. UkLabourRequestDetailDepartmentList.fromJson(e)).toList() as M;
  1066. }
  1067. if (<UkLabourRequestDetailChargeList>[] is M) {
  1068. return data.map<UkLabourRequestDetailChargeList>((
  1069. Map<String, dynamic> e) =>
  1070. UkLabourRequestDetailChargeList.fromJson(e)).toList() as M;
  1071. }
  1072. if (<UkLabourRequestDetailEmploymentList>[] is M) {
  1073. return data.map<UkLabourRequestDetailEmploymentList>((
  1074. Map<String, dynamic> e) =>
  1075. UkLabourRequestDetailEmploymentList.fromJson(e)).toList() as M;
  1076. }
  1077. if (<UkLabourRequestPreselectAddstaffListEntity>[] is M) {
  1078. return data.map<UkLabourRequestPreselectAddstaffListEntity>((
  1079. Map<String, dynamic> e) =>
  1080. UkLabourRequestPreselectAddstaffListEntity.fromJson(e)).toList() as M;
  1081. }
  1082. if (<UkLabourRequestPreselectAddstaffListRows>[] is M) {
  1083. return data.map<UkLabourRequestPreselectAddstaffListRows>((
  1084. Map<String, dynamic> e) =>
  1085. UkLabourRequestPreselectAddstaffListRows.fromJson(e)).toList() as M;
  1086. }
  1087. if (<UkLabourRequestPreselectedListEntity>[] is M) {
  1088. return data.map<UkLabourRequestPreselectedListEntity>((
  1089. Map<String, dynamic> e) =>
  1090. UkLabourRequestPreselectedListEntity.fromJson(e)).toList() as M;
  1091. }
  1092. if (<UkLabourRequestPreselectedListRows>[] is M) {
  1093. return data.map<UkLabourRequestPreselectedListRows>((
  1094. Map<String, dynamic> e) =>
  1095. UkLabourRequestPreselectedListRows.fromJson(e)).toList() as M;
  1096. }
  1097. if (<UkLabourRequestReviewDetailEntity>[] is M) {
  1098. return data.map<UkLabourRequestReviewDetailEntity>((
  1099. Map<String, dynamic> e) =>
  1100. UkLabourRequestReviewDetailEntity.fromJson(e)).toList() as M;
  1101. }
  1102. if (<UkLabourRequestReviewDetailOrder>[] is M) {
  1103. return data.map<UkLabourRequestReviewDetailOrder>((
  1104. Map<String, dynamic> e) =>
  1105. UkLabourRequestReviewDetailOrder.fromJson(e)).toList() as M;
  1106. }
  1107. if (<UkLabourRequestReviewDetailOrderRequest>[] is M) {
  1108. return data.map<UkLabourRequestReviewDetailOrderRequest>((
  1109. Map<String, dynamic> e) =>
  1110. UkLabourRequestReviewDetailOrderRequest.fromJson(e)).toList() as M;
  1111. }
  1112. if (<UkLabourRequestReviewDetailOrderRecords>[] is M) {
  1113. return data.map<UkLabourRequestReviewDetailOrderRecords>((
  1114. Map<String, dynamic> e) =>
  1115. UkLabourRequestReviewDetailOrderRecords.fromJson(e)).toList() as M;
  1116. }
  1117. if (<UkLabourRequestReviewDetailRecords>[] is M) {
  1118. return data.map<UkLabourRequestReviewDetailRecords>((
  1119. Map<String, dynamic> e) =>
  1120. UkLabourRequestReviewDetailRecords.fromJson(e)).toList() as M;
  1121. }
  1122. if (<UkLabourRequestReviewListEntity>[] is M) {
  1123. return data.map<UkLabourRequestReviewListEntity>((
  1124. Map<String, dynamic> e) =>
  1125. UkLabourRequestReviewListEntity.fromJson(e)).toList() as M;
  1126. }
  1127. if (<UkLabourRequestReviewListRows>[] is M) {
  1128. return data.map<UkLabourRequestReviewListRows>((Map<String, dynamic> e) =>
  1129. UkLabourRequestReviewListRows.fromJson(e)).toList() as M;
  1130. }
  1131. if (<UkLabourRequestTableEntity>[] is M) {
  1132. return data.map<UkLabourRequestTableEntity>((Map<String, dynamic> e) =>
  1133. UkLabourRequestTableEntity.fromJson(e)).toList() as M;
  1134. }
  1135. if (<UkLabourRequestTableRows>[] is M) {
  1136. return data.map<UkLabourRequestTableRows>((Map<String, dynamic> e) =>
  1137. UkLabourRequestTableRows.fromJson(e)).toList() as M;
  1138. }
  1139. if (<UkLabourReviewStatusEntity>[] is M) {
  1140. return data.map<UkLabourReviewStatusEntity>((Map<String, dynamic> e) =>
  1141. UkLabourReviewStatusEntity.fromJson(e)).toList() as M;
  1142. }
  1143. if (<UkLabourReviewStatusRow>[] is M) {
  1144. return data.map<UkLabourReviewStatusRow>((Map<String, dynamic> e) =>
  1145. UkLabourReviewStatusRow.fromJson(e)).toList() as M;
  1146. }
  1147. if (<UkLabourReviewStatusRecords>[] is M) {
  1148. return data.map<UkLabourReviewStatusRecords>((Map<String, dynamic> e) =>
  1149. UkLabourReviewStatusRecords.fromJson(e)).toList() as M;
  1150. }
  1151. if (<UkReportCasualEntity>[] is M) {
  1152. return data.map<UkReportCasualEntity>((Map<String, dynamic> e) =>
  1153. UkReportCasualEntity.fromJson(e)).toList() as M;
  1154. }
  1155. if (<UkReportCasualRows>[] is M) {
  1156. return data.map<UkReportCasualRows>((Map<String, dynamic> e) =>
  1157. UkReportCasualRows.fromJson(e)).toList() as M;
  1158. }
  1159. if (<UkReportCasualTotal>[] is M) {
  1160. return data.map<UkReportCasualTotal>((Map<String, dynamic> e) =>
  1161. UkReportCasualTotal.fromJson(e)).toList() as M;
  1162. }
  1163. if (<UkReportCasualPayEntity>[] is M) {
  1164. return data.map<UkReportCasualPayEntity>((Map<String, dynamic> e) =>
  1165. UkReportCasualPayEntity.fromJson(e)).toList() as M;
  1166. }
  1167. if (<UkReportCasualPayRows>[] is M) {
  1168. return data.map<UkReportCasualPayRows>((Map<String, dynamic> e) =>
  1169. UkReportCasualPayRows.fromJson(e)).toList() as M;
  1170. }
  1171. if (<UkReportCasualPayTotal>[] is M) {
  1172. return data.map<UkReportCasualPayTotal>((Map<String, dynamic> e) =>
  1173. UkReportCasualPayTotal.fromJson(e)).toList() as M;
  1174. }
  1175. if (<UkReportOutletEntity>[] is M) {
  1176. return data.map<UkReportOutletEntity>((Map<String, dynamic> e) =>
  1177. UkReportOutletEntity.fromJson(e)).toList() as M;
  1178. }
  1179. if (<UkReportOutletRequestList>[] is M) {
  1180. return data.map<UkReportOutletRequestList>((Map<String, dynamic> e) =>
  1181. UkReportOutletRequestList.fromJson(e)).toList() as M;
  1182. }
  1183. if (<UkStaffDetailEntity>[] is M) {
  1184. return data.map<UkStaffDetailEntity>((Map<String, dynamic> e) =>
  1185. UkStaffDetailEntity.fromJson(e)).toList() as M;
  1186. }
  1187. if (<UkStaffDetailCertificates>[] is M) {
  1188. return data.map<UkStaffDetailCertificates>((Map<String, dynamic> e) =>
  1189. UkStaffDetailCertificates.fromJson(e)).toList() as M;
  1190. }
  1191. if (<UkStaffLabourHistoryEntity>[] is M) {
  1192. return data.map<UkStaffLabourHistoryEntity>((Map<String, dynamic> e) =>
  1193. UkStaffLabourHistoryEntity.fromJson(e)).toList() as M;
  1194. }
  1195. if (<UkStaffLabourHistoryRows>[] is M) {
  1196. return data.map<UkStaffLabourHistoryRows>((Map<String, dynamic> e) =>
  1197. UkStaffLabourHistoryRows.fromJson(e)).toList() as M;
  1198. }
  1199. if (<UkStaffLabourHistoryRowsSecurityIn>[] is M) {
  1200. return data.map<UkStaffLabourHistoryRowsSecurityIn>((
  1201. Map<String, dynamic> e) =>
  1202. UkStaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
  1203. }
  1204. if (<UkStaffLabourHistoryRowsSecurityOut>[] is M) {
  1205. return data.map<UkStaffLabourHistoryRowsSecurityOut>((
  1206. Map<String, dynamic> e) =>
  1207. UkStaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
  1208. }
  1209. if (<UkStaffLabourHistoryRowsWorkIn>[] is M) {
  1210. return data.map<UkStaffLabourHistoryRowsWorkIn>((
  1211. Map<String, dynamic> e) => UkStaffLabourHistoryRowsWorkIn.fromJson(e))
  1212. .toList() as M;
  1213. }
  1214. if (<UkJobAppliedReviseLogRecordsContentReason>[] is M) {
  1215. return data.map<UkJobAppliedReviseLogRecordsContentReason>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContentReason.fromJson(e))
  1216. .toList() as M;
  1217. }
  1218. if (<UkJobAppliedStaffListEntity>[] is M) {
  1219. return data.map<UkJobAppliedStaffListEntity>((Map<String, dynamic> e) => UkJobAppliedStaffListEntity.fromJson(e)).toList() as M;
  1220. }
  1221. if (<UkJobAppliedStaffListRows>[] is M) {
  1222. return data.map<UkJobAppliedStaffListRows>((Map<String, dynamic> e) => UkJobAppliedStaffListRows.fromJson(e)).toList() as M;
  1223. }
  1224. if (<UkJobAppliedStaffListRowsSecurityIn>[] is M) {
  1225. return data.map<UkJobAppliedStaffListRowsSecurityIn>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
  1226. }
  1227. if (<UkJobAppliedStaffListRowsSecurityOut>[] is M) {
  1228. return data.map<UkJobAppliedStaffListRowsSecurityOut>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
  1229. }
  1230. if (<UkJobAppliedStaffListRowsWorkIn>[] is M) {
  1231. return data.map<UkJobAppliedStaffListRowsWorkIn>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
  1232. }
  1233. if (<UkJobAppliedStaffListRowsWorkOut>[] is M) {
  1234. return data.map<UkJobAppliedStaffListRowsWorkOut>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
  1235. }
  1236. if (<UkJobListAppliedStaffSearchEntity>[] is M) {
  1237. return data.map<UkJobListAppliedStaffSearchEntity>((Map<String, dynamic> e) => UkJobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
  1238. }
  1239. if (<UkJobListAppliedStaffSearchRows>[] is M) {
  1240. return data.map<UkJobListAppliedStaffSearchRows>((Map<String, dynamic> e) => UkJobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
  1241. }
  1242. if (<UkJobTemplateDetailBySelectTitleEntity>[] is M) {
  1243. return data.map<UkJobTemplateDetailBySelectTitleEntity>((Map<String, dynamic> e) => UkJobTemplateDetailBySelectTitleEntity.fromJson(e)).toList() as M;
  1244. }
  1245. if (<UkLabReqShowTemplateEntity>[] is M) {
  1246. return data.map<UkLabReqShowTemplateEntity>((Map<String, dynamic> e) => UkLabReqShowTemplateEntity.fromJson(e)).toList() as M;
  1247. }
  1248. if (<UkLabourRequestDetailEntity>[] is M) {
  1249. return data.map<UkLabourRequestDetailEntity>((Map<String, dynamic> e) => UkLabourRequestDetailEntity.fromJson(e)).toList() as M;
  1250. }
  1251. if (<UkLabourRequestDetailCertificateList>[] is M) {
  1252. return data.map<UkLabourRequestDetailCertificateList>((Map<String, dynamic> e) => UkLabourRequestDetailCertificateList.fromJson(e)).toList() as M;
  1253. }
  1254. if (<UkLabourRequestDetailVehicleList>[] is M) {
  1255. return data.map<UkLabourRequestDetailVehicleList>((Map<String, dynamic> e) => UkLabourRequestDetailVehicleList.fromJson(e)).toList() as M;
  1256. }
  1257. if (<UkLabourRequestDetailChallenge25List>[] is M) {
  1258. return data.map<UkLabourRequestDetailChallenge25List>((Map<String, dynamic> e) => UkLabourRequestDetailChallenge25List.fromJson(e)).toList() as M;
  1259. }
  1260. if (<UkLabourRequestDetailTemplateList>[] is M) {
  1261. return data.map<UkLabourRequestDetailTemplateList>((Map<String, dynamic> e) => UkLabourRequestDetailTemplateList.fromJson(e)).toList() as M;
  1262. }
  1263. if (<UkLabourRequestDetailDepartmentList>[] is M) {
  1264. return data.map<UkLabourRequestDetailDepartmentList>((Map<String, dynamic> e) => UkLabourRequestDetailDepartmentList.fromJson(e)).toList() as M;
  1265. }
  1266. if (<UkLabourRequestDetailChargeList>[] is M) {
  1267. return data.map<UkLabourRequestDetailChargeList>((Map<String, dynamic> e) => UkLabourRequestDetailChargeList.fromJson(e)).toList() as M;
  1268. }
  1269. if (<UkLabourRequestDetailEmploymentList>[] is M) {
  1270. return data.map<UkLabourRequestDetailEmploymentList>((Map<String, dynamic> e) => UkLabourRequestDetailEmploymentList.fromJson(e)).toList() as M;
  1271. }
  1272. if (<UkLabourRequestPreselectAddstaffListEntity>[] is M) {
  1273. return data.map<UkLabourRequestPreselectAddstaffListEntity>((Map<String, dynamic> e) => UkLabourRequestPreselectAddstaffListEntity.fromJson(e))
  1274. .toList() as M;
  1275. }
  1276. if (<UkLabourRequestPreselectAddstaffListRows>[] is M) {
  1277. return data.map<UkLabourRequestPreselectAddstaffListRows>((Map<String, dynamic> e) => UkLabourRequestPreselectAddstaffListRows.fromJson(e)).toList() as M;
  1278. }
  1279. if (<UkLabourRequestPreselectedListEntity>[] is M) {
  1280. return data.map<UkLabourRequestPreselectedListEntity>((Map<String, dynamic> e) => UkLabourRequestPreselectedListEntity.fromJson(e)).toList() as M;
  1281. }
  1282. if (<UkLabourRequestPreselectedListRows>[] is M) {
  1283. return data.map<UkLabourRequestPreselectedListRows>((Map<String, dynamic> e) => UkLabourRequestPreselectedListRows.fromJson(e)).toList() as M;
  1284. }
  1285. if (<UkLabourRequestReviewDetailEntity>[] is M) {
  1286. return data.map<UkLabourRequestReviewDetailEntity>((Map<String, dynamic> e) => UkLabourRequestReviewDetailEntity.fromJson(e)).toList() as M;
  1287. }
  1288. if (<UkLabourRequestReviewDetailOrder>[] is M) {
  1289. return data.map<UkLabourRequestReviewDetailOrder>((Map<String, dynamic> e) => UkLabourRequestReviewDetailOrder.fromJson(e)).toList() as M;
  1290. }
  1291. if (<UkLabourRequestReviewDetailOrderRequest>[] is M) {
  1292. return data.map<UkLabourRequestReviewDetailOrderRequest>((Map<String, dynamic> e) => UkLabourRequestReviewDetailOrderRequest.fromJson(e)).toList() as M;
  1293. }
  1294. if (<UkLabourRequestReviewDetailOrderRecords>[] is M) {
  1295. return data.map<UkLabourRequestReviewDetailOrderRecords>((Map<String, dynamic> e) => UkLabourRequestReviewDetailOrderRecords.fromJson(e)).toList() as M;
  1296. }
  1297. if (<UkLabourRequestReviewDetailRecords>[] is M) {
  1298. return data.map<UkLabourRequestReviewDetailRecords>((Map<String, dynamic> e) => UkLabourRequestReviewDetailRecords.fromJson(e)).toList() as M;
  1299. }
  1300. if (<UkLabourRequestReviewListEntity>[] is M) {
  1301. return data.map<UkLabourRequestReviewListEntity>((Map<String, dynamic> e) => UkLabourRequestReviewListEntity.fromJson(e)).toList() as M;
  1302. }
  1303. if (<UkLabourRequestReviewListRows>[] is M) {
  1304. return data.map<UkLabourRequestReviewListRows>((Map<String, dynamic> e) => UkLabourRequestReviewListRows.fromJson(e)).toList() as M;
  1305. }
  1306. if (<UkLabourRequestTableEntity>[] is M) {
  1307. return data.map<UkLabourRequestTableEntity>((Map<String, dynamic> e) => UkLabourRequestTableEntity.fromJson(e)).toList() as M;
  1308. }
  1309. if (<UkLabourRequestTableRows>[] is M) {
  1310. return data.map<UkLabourRequestTableRows>((Map<String, dynamic> e) => UkLabourRequestTableRows.fromJson(e)).toList() as M;
  1311. }
  1312. if (<UkLabourReviewStatusEntity>[] is M) {
  1313. return data.map<UkLabourReviewStatusEntity>((Map<String, dynamic> e) => UkLabourReviewStatusEntity.fromJson(e)).toList() as M;
  1314. }
  1315. if (<UkLabourReviewStatusRow>[] is M) {
  1316. return data.map<UkLabourReviewStatusRow>((Map<String, dynamic> e) => UkLabourReviewStatusRow.fromJson(e)).toList() as M;
  1317. }
  1318. if (<UkLabourReviewStatusRecords>[] is M) {
  1319. return data.map<UkLabourReviewStatusRecords>((Map<String, dynamic> e) => UkLabourReviewStatusRecords.fromJson(e)).toList() as M;
  1320. }
  1321. if (<UkReportCasualEntity>[] is M) {
  1322. return data.map<UkReportCasualEntity>((Map<String, dynamic> e) => UkReportCasualEntity.fromJson(e)).toList() as M;
  1323. }
  1324. if (<UkReportCasualRows>[] is M) {
  1325. return data.map<UkReportCasualRows>((Map<String, dynamic> e) => UkReportCasualRows.fromJson(e)).toList() as M;
  1326. }
  1327. if (<UkReportCasualTotal>[] is M) {
  1328. return data.map<UkReportCasualTotal>((Map<String, dynamic> e) => UkReportCasualTotal.fromJson(e)).toList() as M;
  1329. }
  1330. if (<UkReportCasualPayEntity>[] is M) {
  1331. return data.map<UkReportCasualPayEntity>((Map<String, dynamic> e) => UkReportCasualPayEntity.fromJson(e)).toList() as M;
  1332. }
  1333. if (<UkReportCasualPayRows>[] is M) {
  1334. return data.map<UkReportCasualPayRows>((Map<String, dynamic> e) => UkReportCasualPayRows.fromJson(e)).toList() as M;
  1335. }
  1336. if (<UkReportCasualPayTotal>[] is M) {
  1337. return data.map<UkReportCasualPayTotal>((Map<String, dynamic> e) => UkReportCasualPayTotal.fromJson(e)).toList() as M;
  1338. }
  1339. if (<UkReportOutletEntity>[] is M) {
  1340. return data.map<UkReportOutletEntity>((Map<String, dynamic> e) => UkReportOutletEntity.fromJson(e)).toList() as M;
  1341. }
  1342. if (<UkReportOutletRequestList>[] is M) {
  1343. return data.map<UkReportOutletRequestList>((Map<String, dynamic> e) => UkReportOutletRequestList.fromJson(e)).toList() as M;
  1344. }
  1345. if (<UkStaffDetailEntity>[] is M) {
  1346. return data.map<UkStaffDetailEntity>((Map<String, dynamic> e) => UkStaffDetailEntity.fromJson(e)).toList() as M;
  1347. }
  1348. if (<UkStaffDetailCertificates>[] is M) {
  1349. return data.map<UkStaffDetailCertificates>((Map<String, dynamic> e) => UkStaffDetailCertificates.fromJson(e)).toList() as M;
  1350. }
  1351. if (<UkStaffLabourHistoryEntity>[] is M) {
  1352. return data.map<UkStaffLabourHistoryEntity>((Map<String, dynamic> e) => UkStaffLabourHistoryEntity.fromJson(e)).toList() as M;
  1353. }
  1354. if (<UkStaffLabourHistoryRows>[] is M) {
  1355. return data.map<UkStaffLabourHistoryRows>((Map<String, dynamic> e) => UkStaffLabourHistoryRows.fromJson(e)).toList() as M;
  1356. }
  1357. if (<UkStaffLabourHistoryRowsSecurityIn>[] is M) {
  1358. return data.map<UkStaffLabourHistoryRowsSecurityIn>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
  1359. }
  1360. if (<UkStaffLabourHistoryRowsSecurityOut>[] is M) {
  1361. return data.map<UkStaffLabourHistoryRowsSecurityOut>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
  1362. }
  1363. if (<UkStaffLabourHistoryRowsWorkIn>[] is M) {
  1364. return data.map<UkStaffLabourHistoryRowsWorkIn>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M;
  1365. }
  1366. if (<UkStaffLabourHistoryRowsWorkOut>[] is M) {
  1367. return data.map<UkStaffLabourHistoryRowsWorkOut>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
  1368. }
  1369. if (<UkTemplateDetailEntity>[] is M) {
  1370. return data.map<UkTemplateDetailEntity>((Map<String, dynamic> e) => UkTemplateDetailEntity.fromJson(e)).toList() as M;
  1371. }
  1372. if (<UkTemplateDetailRow>[] is M) {
  1373. return data.map<UkTemplateDetailRow>((Map<String, dynamic> e) => UkTemplateDetailRow.fromJson(e)).toList() as M;
  1374. }
  1375. if (<UkTemplateDetailTitleList>[] is M) {
  1376. return data.map<UkTemplateDetailTitleList>((Map<String, dynamic> e) => UkTemplateDetailTitleList.fromJson(e)).toList() as M;
  1377. }
  1378. if (<UkTemplateDetailCertificateList>[] is M) {
  1379. return data.map<UkTemplateDetailCertificateList>((Map<String, dynamic> e) => UkTemplateDetailCertificateList.fromJson(e)).toList() as M;
  1380. }
  1381. if (<UkTemplateDetailVehicleList>[] is M) {
  1382. return data.map<UkTemplateDetailVehicleList>((Map<String, dynamic> e) => UkTemplateDetailVehicleList.fromJson(e)).toList() as M;
  1383. }
  1384. if (<UkTemplateDetailChallenge25List>[] is M) {
  1385. return data.map<UkTemplateDetailChallenge25List>((Map<String, dynamic> e) => UkTemplateDetailChallenge25List.fromJson(e)).toList() as M;
  1386. }
  1387. if (<UkTemplateDetailIndexEntity>[] is M) {
  1388. return data.map<UkTemplateDetailIndexEntity>((Map<String, dynamic> e) => UkTemplateDetailIndexEntity.fromJson(e)).toList() as M;
  1389. }
  1390. if (<UkTemplateDetailIndexCertificateList>[] is M) {
  1391. return data.map<UkTemplateDetailIndexCertificateList>((Map<String, dynamic> e) => UkTemplateDetailIndexCertificateList.fromJson(e)).toList() as M;
  1392. }
  1393. if (<UkTemplateDetailIndexVehicleList>[] is M) {
  1394. return data.map<UkTemplateDetailIndexVehicleList>((Map<String, dynamic> e) => UkTemplateDetailIndexVehicleList.fromJson(e)).toList() as M;
  1395. }
  1396. if (<UkTemplateDetailIndexChallenge25List>[] is M) {
  1397. return data.map<UkTemplateDetailIndexChallenge25List>((Map<String, dynamic> e) => UkTemplateDetailIndexChallenge25List.fromJson(e)).toList() as M;
  1398. }
  1399. if (<UkTemplateTableEntity>[] is M) {
  1400. return data.map<UkTemplateTableEntity>((Map<String, dynamic> e) => UkTemplateTableEntity.fromJson(e)).toList() as M;
  1401. }
  1402. if (<UkTemplateTableRows>[] is M) {
  1403. return data.map<UkTemplateTableRows>((Map<String, dynamic> e) => UkTemplateTableRows.fromJson(e)).toList() as M;
  1404. }
  1405. if (<UkTemplateTitleOptionEntity>[] is M) {
  1406. return data.map<UkTemplateTitleOptionEntity>((Map<String, dynamic> e) => UkTemplateTitleOptionEntity.fromJson(e)).toList() as M;
  1407. }
  1408. if (<ServerTime>[] is M) {
  1409. return data.map<ServerTime>((Map<String, dynamic> e) => ServerTime.fromJson(e)).toList() as M;
  1410. }
  1411. debugPrint("$M not found");
  1412. return null;
  1413. }
  1414. static M? fromJsonAsT<M>(dynamic json) {
  1415. if (json is M) {
  1416. return json;
  1417. }
  1418. if (json is List) {
  1419. return _getListChildType<M>(json.map((dynamic e) => e as Map<String, dynamic>).toList());
  1420. } else {
  1421. return jsonConvert.convert<M>(json);
  1422. }
  1423. }
  1424. }
  1425. class JsonConvertClassCollection {
  1426. Map<String, JsonConvertFunction> convertFuncMap = {
  1427. (AddEditReviseViewSGEntity).toString(): AddEditReviseViewSGEntity.fromJson,
  1428. (AgencyDetailEntity).toString(): AgencyDetailEntity.fromJson,
  1429. (AgencyDetailPivot).toString(): AgencyDetailPivot.fromJson,
  1430. (AgencyOptionEntity).toString(): AgencyOptionEntity.fromJson,
  1431. (AgencyTableEntity).toString(): AgencyTableEntity.fromJson,
  1432. (AgencyTableRows).toString(): AgencyTableRows.fromJson,
  1433. (AttendanceEntity).toString(): AttendanceEntity.fromJson,
  1434. (AttendanceList).toString(): AttendanceList.fromJson,
  1435. (AttendanceReviewEntity).toString(): AttendanceReviewEntity.fromJson,
  1436. (AttendanceReviewRows).toString(): AttendanceReviewRows.fromJson,
  1437. (CheckSuccessEntity).toString(): CheckSuccessEntity.fromJson,
  1438. (ContractDetailEntity).toString(): ContractDetailEntity.fromJson,
  1439. (ContractDetailRow).toString(): ContractDetailRow.fromJson,
  1440. (ContractOptionEntity).toString(): ContractOptionEntity.fromJson,
  1441. (ContractPositionAddOptionEntity).toString(): ContractPositionAddOptionEntity.fromJson,
  1442. (ContractPositionOptionEntity).toString(): ContractPositionOptionEntity.fromJson,
  1443. (ContractPositionRateDetailEntity).toString(): ContractPositionRateDetailEntity.fromJson,
  1444. (ContractPositionRateSpecificOptionEntity).toString(): ContractPositionRateSpecificOptionEntity.fromJson,
  1445. (ContractPositionRateTableEntity).toString(): ContractPositionRateTableEntity.fromJson,
  1446. (ContractPositionRateTableRows).toString(): ContractPositionRateTableRows.fromJson,
  1447. (ContractPositionTableEntity).toString(): ContractPositionTableEntity.fromJson,
  1448. (ContractPositionTableRows).toString(): ContractPositionTableRows.fromJson,
  1449. (ContractTableEntity).toString(): ContractTableEntity.fromJson,
  1450. (ContractTableRows).toString(): ContractTableRows.fromJson,
  1451. (DeviceListEntity).toString(): DeviceListEntity.fromJson,
  1452. (DeviceListRows).toString(): DeviceListRows.fromJson,
  1453. (FianceReportEntity).toString(): FianceReportEntity.fromJson,
  1454. (FianceReportRateList).toString(): FianceReportRateList.fromJson,
  1455. (HotelInfoEntity).toString(): HotelInfoEntity.fromJson,
  1456. (HotelInfoMenus).toString(): HotelInfoMenus.fromJson,
  1457. (HotelInfoMenusChildren).toString(): HotelInfoMenusChildren.fromJson,
  1458. (IdNameEntity).toString(): IdNameEntity.fromJson,
  1459. (IndexOptionEntity).toString(): IndexOptionEntity.fromJson,
  1460. (JobAppliedEditIndexSGEntity).toString(): JobAppliedEditIndexSGEntity.fromJson,
  1461. (JobAppliedEditIndexSGStatusList).toString(): JobAppliedEditIndexSGStatusList.fromJson,
  1462. (JobAppliedIndexSGEntity).toString(): JobAppliedIndexSGEntity.fromJson,
  1463. (JobAppliedIndexSGStatusList).toString(): JobAppliedIndexSGStatusList.fromJson,
  1464. (JobAppliedListSGEntity).toString(): JobAppliedListSGEntity.fromJson,
  1465. (JobAppliedListSGRows).toString(): JobAppliedListSGRows.fromJson,
  1466. (JobAppliedListSGRowsCheck).toString(): JobAppliedListSGRowsCheck.fromJson,
  1467. (JobAppliedListSGRowsStatusList).toString(): JobAppliedListSGRowsStatusList.fromJson,
  1468. (JobAppliedRemarkViewSGEntity).toString(): JobAppliedRemarkViewSGEntity.fromJson,
  1469. (JobAppliedStaffSGEntity).toString(): JobAppliedStaffSGEntity.fromJson,
  1470. (JobAppliedStaffSGRows).toString(): JobAppliedStaffSGRows.fromJson,
  1471. (JobListAddStaffEntity).toString(): JobListAddStaffEntity.fromJson,
  1472. (JobListAddStaffResultList).toString(): JobListAddStaffResultList.fromJson,
  1473. (JobListAppliedEditEntity).toString(): JobListAppliedEditEntity.fromJson,
  1474. (JobListAppliedEditReasonList).toString(): JobListAppliedEditReasonList.fromJson,
  1475. (JobListAppliedInfoEntity).toString(): JobListAppliedInfoEntity.fromJson,
  1476. (JobListAppliedStaffListEntity).toString(): JobListAppliedStaffListEntity.fromJson,
  1477. (JobListAppliedStaffListRows).toString(): JobListAppliedStaffListRows.fromJson,
  1478. (JobListAppliedStaffListRowsSecurityIn).toString(): JobListAppliedStaffListRowsSecurityIn.fromJson,
  1479. (JobListAppliedStaffListRowsSecurityOut).toString(): JobListAppliedStaffListRowsSecurityOut.fromJson,
  1480. (JobListAppliedStaffListRowsWorkIn).toString(): JobListAppliedStaffListRowsWorkIn.fromJson,
  1481. (JobListAppliedStaffListRowsWorkOut).toString(): JobListAppliedStaffListRowsWorkOut.fromJson,
  1482. (JobListAppliedStaffSearchEntity).toString(): JobListAppliedStaffSearchEntity.fromJson,
  1483. (JobListAppliedStaffSearchRows).toString(): JobListAppliedStaffSearchRows.fromJson,
  1484. (JobListAppliedWorkFlowEntity).toString(): JobListAppliedWorkFlowEntity.fromJson,
  1485. (JobListAppliedWorkFlowRecords).toString(): JobListAppliedWorkFlowRecords.fromJson,
  1486. (JobListDetailEntity).toString(): JobListDetailEntity.fromJson,
  1487. (JobListDetailDepartmentList).toString(): JobListDetailDepartmentList.fromJson,
  1488. (JobListERDetailEntity).toString(): JobListERDetailEntity.fromJson,
  1489. (JobListERDetailJob).toString(): JobListERDetailJob.fromJson,
  1490. (JobListEROptionEntity).toString(): JobListEROptionEntity.fromJson,
  1491. (JobListEROptionFilter).toString(): JobListEROptionFilter.fromJson,
  1492. (JobListEditIndexSGEntity).toString(): JobListEditIndexSGEntity.fromJson,
  1493. (JobListEditIndexOption).toString(): JobListEditIndexOption.fromJson,
  1494. (JobListEntity).toString(): JobListEntity.fromJson,
  1495. (JobListRows).toString(): JobListRows.fromJson,
  1496. (JobListIndexEntity).toString(): JobListIndexEntity.fromJson,
  1497. (JobListIndexDepartmentList).toString(): JobListIndexDepartmentList.fromJson,
  1498. (JobListIndexStatusList).toString(): JobListIndexStatusList.fromJson,
  1499. (JobListIndexSGEntity).toString(): JobListIndexSGEntity.fromJson,
  1500. (JobListIndexSGOption).toString(): JobListIndexSGOption.fromJson,
  1501. (JobListRemarkViewEntity).toString(): JobListRemarkViewEntity.fromJson,
  1502. (JobListSGEntity).toString(): JobListSGEntity.fromJson,
  1503. (JobListSGRows).toString(): JobListSGRows.fromJson,
  1504. (JobTemplateEditIndexEntity).toString(): JobTemplateEditIndexEntity.fromJson,
  1505. (JobTemplateEditIndexAgeList).toString(): JobTemplateEditIndexAgeList.fromJson,
  1506. (JobTemplateEditIndexSexList).toString(): JobTemplateEditIndexSexList.fromJson,
  1507. (JobTemplateEditIndexLanguageList).toString(): JobTemplateEditIndexLanguageList.fromJson,
  1508. (JobTemplateSGEntity).toString(): JobTemplateSGEntity.fromJson,
  1509. (JobTemplateSGRows).toString(): JobTemplateSGRows.fromJson,
  1510. (JobTitleEditIndexEntity).toString(): JobTitleEditIndexEntity.fromJson,
  1511. (JobTitleEditIndexTemplate).toString(): JobTitleEditIndexTemplate.fromJson,
  1512. (JobTitleSGEntity).toString(): JobTitleSGEntity.fromJson,
  1513. (JobTitleSGRows).toString(): JobTitleSGRows.fromJson,
  1514. (LabourListEREntity).toString(): LabourListEREntity.fromJson,
  1515. (LabourListERRows).toString(): LabourListERRows.fromJson,
  1516. (LabourReportEntity).toString(): LabourReportEntity.fromJson,
  1517. (LabourReportRows).toString(): LabourReportRows.fromJson,
  1518. (LabourReportTotal).toString(): LabourReportTotal.fromJson,
  1519. (LabourReportVNEntity).toString(): LabourReportVNEntity.fromJson,
  1520. (LabourReportVNRows).toString(): LabourReportVNRows.fromJson,
  1521. (LabourReportVNTotal).toString(): LabourReportVNTotal.fromJson,
  1522. (LabourRequestEREntity).toString(): LabourRequestEREntity.fromJson,
  1523. (LabourRequestERCountList).toString(): LabourRequestERCountList.fromJson,
  1524. (LabourRequestERSourceList).toString(): LabourRequestERSourceList.fromJson,
  1525. (LabourRequestERSourceListRequestList).toString(): LabourRequestERSourceListRequestList.fromJson,
  1526. (LabourRequestEROptionEntity).toString(): LabourRequestEROptionEntity.fromJson,
  1527. (LabourRequestEditIndexEntity).toString(): LabourRequestEditIndexEntity.fromJson,
  1528. (LabourRequestEditIndexTemplateList).toString(): LabourRequestEditIndexTemplateList.fromJson,
  1529. (LabourRequestEditIndexDepartmentList).toString(): LabourRequestEditIndexDepartmentList.fromJson,
  1530. (LabourRequestIndexEntity).toString(): LabourRequestIndexEntity.fromJson,
  1531. (LabourRequestIndexDepartmentList).toString(): LabourRequestIndexDepartmentList.fromJson,
  1532. (LabourRequestIndexStatusList).toString(): LabourRequestIndexStatusList.fromJson,
  1533. (LabourRequestListEntity).toString(): LabourRequestListEntity.fromJson,
  1534. (LabourRequestListRows).toString(): LabourRequestListRows.fromJson,
  1535. (LabourRequestWorkFlowEntity).toString(): LabourRequestWorkFlowEntity.fromJson,
  1536. (LabourRequestWorkFlowRecords).toString(): LabourRequestWorkFlowRecords.fromJson,
  1537. (LabourReviewListEntity).toString(): LabourReviewListEntity.fromJson,
  1538. (LabourReviewListRows).toString(): LabourReviewListRows.fromJson,
  1539. (LabourReviewStatusEntity).toString(): LabourReviewStatusEntity.fromJson,
  1540. (LabourReviewStatusRecords).toString(): LabourReviewStatusRecords.fromJson,
  1541. (PositionTableEntity).toString(): PositionTableEntity.fromJson,
  1542. (PositionTableRows).toString(): PositionTableRows.fromJson,
  1543. (ReviseIndexSGEntity).toString(): ReviseIndexSGEntity.fromJson,
  1544. (ReviseIndexSGStatusList).toString(): ReviseIndexSGStatusList.fromJson,
  1545. (ReviseListSGEntity).toString(): ReviseListSGEntity.fromJson,
  1546. (ReviseListSGRows).toString(): ReviseListSGRows.fromJson,
  1547. (ReviseLogSGEntity).toString(): ReviseLogSGEntity.fromJson,
  1548. (ReviseLogSGRecords).toString(): ReviseLogSGRecords.fromJson,
  1549. (ReviseLogSGRecordsContent).toString(): ReviseLogSGRecordsContent.fromJson,
  1550. (ReviseLogSGRecordsOption).toString(): ReviseLogSGRecordsOption.fromJson,
  1551. (ReviseOptionEntity).toString(): ReviseOptionEntity.fromJson,
  1552. (SGAttendanceReviewOptionEntity).toString(): SGAttendanceReviewOptionEntity.fromJson,
  1553. (SGAttendanceReviewTableEntity).toString(): SGAttendanceReviewTableEntity.fromJson,
  1554. (SGAttendanceReviewTableRows).toString(): SGAttendanceReviewTableRows.fromJson,
  1555. (SGAttendanceReviewTableRowsCheck).toString(): SGAttendanceReviewTableRowsCheck.fromJson,
  1556. (SGAttendanceReviewWorkflowEntity).toString(): SGAttendanceReviewWorkflowEntity.fromJson,
  1557. (SGAttendanceReviewWorkflowRow).toString(): SGAttendanceReviewWorkflowRow.fromJson,
  1558. (SGAttendanceReviewWorkflowRecords).toString(): SGAttendanceReviewWorkflowRecords.fromJson,
  1559. (SGDashboardEntity).toString(): SGDashboardEntity.fromJson,
  1560. (SGDashboardAgencyList).toString(): SGDashboardAgencyList.fromJson,
  1561. (SGDashboardAgencyListDays).toString(): SGDashboardAgencyListDays.fromJson,
  1562. (SGLabourRequestAddOptionEntity).toString(): SGLabourRequestAddOptionEntity.fromJson,
  1563. (LabourRequestAgencyEntity).toString(): LabourRequestAgencyEntity.fromJson,
  1564. (SGLabourRequestDetailEntity).toString(): SGLabourRequestDetailEntity.fromJson,
  1565. (SGLabourRequestDetailLabReq).toString(): SGLabourRequestDetailLabReq.fromJson,
  1566. (SGLabourRequestOptionEntity).toString(): SGLabourRequestOptionEntity.fromJson,
  1567. (SGLabourRequestTableEntity).toString(): SGLabourRequestTableEntity.fromJson,
  1568. (SGLabourRequestTableRows).toString(): SGLabourRequestTableRows.fromJson,
  1569. (SGLabourRequestWorlFlowEntity).toString(): SGLabourRequestWorlFlowEntity.fromJson,
  1570. (SGLabourRequestWorlFlowRow).toString(): SGLabourRequestWorlFlowRow.fromJson,
  1571. (SGLabourRequestWorlFlowRecords).toString(): SGLabourRequestWorlFlowRecords.fromJson,
  1572. (SGLabourReviewOptionEntity).toString(): SGLabourReviewOptionEntity.fromJson,
  1573. (SGLabourReviewTableEntity).toString(): SGLabourReviewTableEntity.fromJson,
  1574. (SGLabourReviewTableRows).toString(): SGLabourReviewTableRows.fromJson,
  1575. (SignInSignOutEntity).toString(): SignInSignOutEntity.fromJson,
  1576. (SignInSignOutRows).toString(): SignInSignOutRows.fromJson,
  1577. (StaffDetailEntity).toString(): StaffDetailEntity.fromJson,
  1578. (StaffDetailSGEntity).toString(): StaffDetailSGEntity.fromJson,
  1579. (StaffDetailSGReviews).toString(): StaffDetailSGReviews.fromJson,
  1580. (StaffDetailSGReviewsReviews).toString(): StaffDetailSGReviewsReviews.fromJson,
  1581. (StaffJobHistorySGEntity).toString(): StaffJobHistorySGEntity.fromJson,
  1582. (StaffJobHistorySGRows).toString(): StaffJobHistorySGRows.fromJson,
  1583. (StaffLabourHistoryEntity).toString(): StaffLabourHistoryEntity.fromJson,
  1584. (StaffLabourHistoryRows).toString(): StaffLabourHistoryRows.fromJson,
  1585. (StaffLabourHistoryRowsSecurityIn).toString(): StaffLabourHistoryRowsSecurityIn.fromJson,
  1586. (StaffLabourHistoryRowsSecurityOut).toString(): StaffLabourHistoryRowsSecurityOut.fromJson,
  1587. (StaffLabourHistoryRowsWorkIn).toString(): StaffLabourHistoryRowsWorkIn.fromJson,
  1588. (StaffLabourHistoryRowsWorkOut).toString(): StaffLabourHistoryRowsWorkOut.fromJson,
  1589. (StaffRemarkHistoryEntity).toString(): StaffRemarkHistoryEntity.fromJson,
  1590. (StaffRemarkHistoryRows).toString(): StaffRemarkHistoryRows.fromJson,
  1591. (StaffReportVNEntity).toString(): StaffReportVNEntity.fromJson,
  1592. (StaffRequestReportEntity).toString(): StaffRequestReportEntity.fromJson,
  1593. (StaffReviewHistorySGEntity).toString(): StaffReviewHistorySGEntity.fromJson,
  1594. (StaffReviewHistorySGReviews).toString(): StaffReviewHistorySGReviews.fromJson,
  1595. (SwitchProjectEntity).toString(): SwitchProjectEntity.fromJson,
  1596. (SwitchProjectUserList).toString(): SwitchProjectUserList.fromJson,
  1597. (THAppliedEditEntity).toString(): THAppliedEditEntity.fromJson,
  1598. (THAppliedEditApplied).toString(): THAppliedEditApplied.fromJson,
  1599. (THAppliedEmployeeEntity).toString(): THAppliedEmployeeEntity.fromJson,
  1600. (THAppliedEmployeeRows).toString(): THAppliedEmployeeRows.fromJson,
  1601. (THAppliedIndexEntity).toString(): THAppliedIndexEntity.fromJson,
  1602. (THAppliedIndexJob).toString(): THAppliedIndexJob.fromJson,
  1603. (THAppliedTableEntity).toString(): THAppliedTableEntity.fromJson,
  1604. (THAppliedTableRows).toString(): THAppliedTableRows.fromJson,
  1605. (THAppliedTableCheckInOut).toString(): THAppliedTableCheckInOut.fromJson,
  1606. (THEmployeeDetailEntity).toString(): THEmployeeDetailEntity.fromJson,
  1607. (THEmployeeDetailStaff).toString(): THEmployeeDetailStaff.fromJson,
  1608. (THEmployeeDetailReviews).toString(): THEmployeeDetailReviews.fromJson,
  1609. (THEmployeeRemarksEntity).toString(): THEmployeeRemarksEntity.fromJson,
  1610. (THEmployeeRemarksReviews).toString(): THEmployeeRemarksReviews.fromJson,
  1611. (THOAAttachmentEntity).toString(): THOAAttachmentEntity.fromJson,
  1612. (THOAAttachmentRows).toString(): THOAAttachmentRows.fromJson,
  1613. (THOALabourDetailEntity).toString(): THOALabourDetailEntity.fromJson,
  1614. (THOALabourDetailLabourRequest).toString(): THOALabourDetailLabourRequest.fromJson,
  1615. (THOALabourReviewTableEntity).toString(): THOALabourReviewTableEntity.fromJson,
  1616. (THOALabourReviewTableRows).toString(): THOALabourReviewTableRows.fromJson,
  1617. (THOALabourTableEntity).toString(): THOALabourTableEntity.fromJson,
  1618. (THOALabourTableRows).toString(): THOALabourTableRows.fromJson,
  1619. (THPreSelectedOptionEntity).toString(): THPreSelectedOptionEntity.fromJson,
  1620. (THPreSelectedStaffTableEntity).toString(): THPreSelectedStaffTableEntity.fromJson,
  1621. (THPreSelectedStaffTableRows).toString(): THPreSelectedStaffTableRows.fromJson,
  1622. (THPreSelectedTableEntity).toString(): THPreSelectedTableEntity.fromJson,
  1623. (THPreSelectedTableRows).toString(): THPreSelectedTableRows.fromJson,
  1624. (THReviseDetailEntity).toString(): THReviseDetailEntity.fromJson,
  1625. (THReviseTableEntity).toString(): THReviseTableEntity.fromJson,
  1626. (THReviseTableRows).toString(): THReviseTableRows.fromJson,
  1627. (THReviseWorkflowEntity).toString(): THReviseWorkflowEntity.fromJson,
  1628. (THReviseWorkflowRevise).toString(): THReviseWorkflowRevise.fromJson,
  1629. (THReviseWorkflowReviseApplied).toString(): THReviseWorkflowReviseApplied.fromJson,
  1630. (THReviseWorkflowRecords).toString(): THReviseWorkflowRecords.fromJson,
  1631. (THReviseWorkflowRecordsContent).toString(): THReviseWorkflowRecordsContent.fromJson,
  1632. (THReviseWorkflowRecordsContentReviseHours).toString(): THReviseWorkflowRecordsContentReviseHours.fromJson,
  1633. (THReviseWorkflowRecordsContentReviseMsg).toString(): THReviseWorkflowRecordsContentReviseMsg.fromJson,
  1634. (THUploadFileEntity).toString(): THUploadFileEntity.fromJson,
  1635. (UKAttendanceEntity).toString(): UKAttendanceEntity.fromJson,
  1636. (UKAttendanceRows).toString(): UKAttendanceRows.fromJson,
  1637. (UKAttendanceInOut).toString(): UKAttendanceInOut.fromJson,
  1638. (UKReportAttendanceEntity).toString(): UKReportAttendanceEntity.fromJson,
  1639. (UKReportAttendanceRows).toString(): UKReportAttendanceRows.fromJson,
  1640. (UKReportLabourEntity).toString(): UKReportLabourEntity.fromJson,
  1641. (UKReportLabourRows).toString(): UKReportLabourRows.fromJson,
  1642. (UKReportWorkingHoursEntity).toString(): UKReportWorkingHoursEntity.fromJson,
  1643. (UKReportWorkingHoursRows).toString(): UKReportWorkingHoursRows.fromJson,
  1644. (UKSecurityAttendanceEntity).toString(): UKSecurityAttendanceEntity.fromJson,
  1645. (UKSecurityAttendanceRows).toString(): UKSecurityAttendanceRows.fromJson,
  1646. (UKSecurityInOut).toString(): UKSecurityInOut.fromJson,
  1647. (UKSecurityAttendanceOptionEntity).toString(): UKSecurityAttendanceOptionEntity.fromJson,
  1648. (UKSecurityAttendanceOptionFilter).toString(): UKSecurityAttendanceOptionFilter.fromJson,
  1649. (UkAttendanceReviewEntity).toString(): UkAttendanceReviewEntity.fromJson,
  1650. (UkAttendanceReviewRows).toString(): UkAttendanceReviewRows.fromJson,
  1651. (UkAttendanceReviewRemarkEntity).toString(): UkAttendanceReviewRemarkEntity.fromJson,
  1652. (UkJobAppliedReviseAddDetailEntity).toString(): UkJobAppliedReviseAddDetailEntity.fromJson,
  1653. (UkJobAppliedReviseAddDetailApplied).toString(): UkJobAppliedReviseAddDetailApplied.fromJson,
  1654. (UkJobAppliedReviseEditDetailEntity).toString(): UkJobAppliedReviseEditDetailEntity.fromJson,
  1655. (UkJobAppliedReviseEditDetailApplied).toString(): UkJobAppliedReviseEditDetailApplied.fromJson,
  1656. (UkJobAppliedReviseEditDetailRevise).toString(): UkJobAppliedReviseEditDetailRevise.fromJson,
  1657. (UkJobAppliedReviseEditDetailReviseApplied).toString(): UkJobAppliedReviseEditDetailReviseApplied.fromJson,
  1658. (UkJobAppliedReviseInfoEntity).toString(): UkJobAppliedReviseInfoEntity.fromJson,
  1659. (UkJobAppliedReviseInfoRows).toString(): UkJobAppliedReviseInfoRows.fromJson,
  1660. (UkJobAppliedReviseLogEntity).toString(): UkJobAppliedReviseLogEntity.fromJson,
  1661. (UkJobAppliedReviseLogRecords).toString(): UkJobAppliedReviseLogRecords.fromJson,
  1662. (UkJobAppliedReviseLogRecordsContent).toString(): UkJobAppliedReviseLogRecordsContent.fromJson,
  1663. (UkJobAppliedReviseLogRecordsContentReviseHours).toString(): UkJobAppliedReviseLogRecordsContentReviseHours.fromJson,
  1664. (UkJobAppliedReviseLogRecordsContentStatus).toString(): UkJobAppliedReviseLogRecordsContentStatus.fromJson,
  1665. (UkJobAppliedReviseLogRecordsContentReason).toString(): UkJobAppliedReviseLogRecordsContentReason.fromJson,
  1666. (UkJobAppliedStaffListEntity).toString(): UkJobAppliedStaffListEntity.fromJson,
  1667. (UkJobAppliedStaffListRows).toString(): UkJobAppliedStaffListRows.fromJson,
  1668. (UkJobAppliedStaffListRowsSecurityIn)
  1669. .toString(): UkJobAppliedStaffListRowsSecurityIn.fromJson,
  1670. (UkJobAppliedStaffListRowsSecurityOut)
  1671. .toString(): UkJobAppliedStaffListRowsSecurityOut.fromJson,
  1672. (UkJobAppliedStaffListRowsWorkIn)
  1673. .toString(): UkJobAppliedStaffListRowsWorkIn.fromJson,
  1674. (UkJobAppliedStaffListRowsWorkOut)
  1675. .toString(): UkJobAppliedStaffListRowsWorkOut.fromJson,
  1676. (UkJobListAppliedStaffSearchEntity)
  1677. .toString(): UkJobListAppliedStaffSearchEntity.fromJson,
  1678. (UkJobListAppliedStaffSearchRows)
  1679. .toString(): UkJobListAppliedStaffSearchRows.fromJson,
  1680. (UkJobListAppliedStaffSelectoptionsEntity)
  1681. .toString(): UkJobListAppliedStaffSelectoptionsEntity.fromJson,
  1682. (UkJobTemplateDetailBySelectTitleEntity)
  1683. .toString(): UkJobTemplateDetailBySelectTitleEntity.fromJson,
  1684. (UkLabReqShowTemplateEntity).toString(): UkLabReqShowTemplateEntity
  1685. .fromJson,
  1686. (UkLabourRequestDetailEntity).toString(): UkLabourRequestDetailEntity
  1687. .fromJson,
  1688. (UkLabourRequestDetailCertificateList)
  1689. .toString(): UkLabourRequestDetailCertificateList.fromJson,
  1690. (UkLabourRequestDetailVehicleList)
  1691. .toString(): UkLabourRequestDetailVehicleList.fromJson,
  1692. (UkLabourRequestDetailChallenge25List)
  1693. .toString(): UkLabourRequestDetailChallenge25List.fromJson,
  1694. (UkLabourRequestDetailTemplateList)
  1695. .toString(): UkLabourRequestDetailTemplateList.fromJson,
  1696. (UkLabourRequestDetailDepartmentList)
  1697. .toString(): UkLabourRequestDetailDepartmentList.fromJson,
  1698. (UkLabourRequestDetailChargeList)
  1699. .toString(): UkLabourRequestDetailChargeList.fromJson,
  1700. (UkLabourRequestDetailEmploymentList)
  1701. .toString(): UkLabourRequestDetailEmploymentList.fromJson,
  1702. (UkLabourRequestPreselectAddstaffListEntity)
  1703. .toString(): UkLabourRequestPreselectAddstaffListEntity.fromJson,
  1704. (UkLabourRequestPreselectAddstaffListRows)
  1705. .toString(): UkLabourRequestPreselectAddstaffListRows.fromJson,
  1706. (UkLabourRequestPreselectedListEntity)
  1707. .toString(): UkLabourRequestPreselectedListEntity.fromJson,
  1708. (UkLabourRequestPreselectedListRows)
  1709. .toString(): UkLabourRequestPreselectedListRows.fromJson,
  1710. (UkLabourRequestReviewDetailEntity)
  1711. .toString(): UkLabourRequestReviewDetailEntity.fromJson,
  1712. (UkLabourRequestReviewDetailOrder)
  1713. .toString(): UkLabourRequestReviewDetailOrder.fromJson,
  1714. (UkLabourRequestReviewDetailOrderRequest)
  1715. .toString(): UkLabourRequestReviewDetailOrderRequest.fromJson,
  1716. (UkLabourRequestReviewDetailOrderRecords)
  1717. .toString(): UkLabourRequestReviewDetailOrderRecords.fromJson,
  1718. (UkLabourRequestReviewDetailRecords)
  1719. .toString(): UkLabourRequestReviewDetailRecords.fromJson,
  1720. (UkLabourRequestReviewListEntity)
  1721. .toString(): UkLabourRequestReviewListEntity.fromJson,
  1722. (UkLabourRequestReviewListRows).toString(): UkLabourRequestReviewListRows
  1723. .fromJson,
  1724. (UkLabourRequestTableEntity).toString(): UkLabourRequestTableEntity
  1725. .fromJson,
  1726. (UkLabourRequestTableRows).toString(): UkLabourRequestTableRows.fromJson,
  1727. (UkLabourReviewStatusEntity).toString(): UkLabourReviewStatusEntity.fromJson,
  1728. (UkLabourReviewStatusRow).toString(): UkLabourReviewStatusRow.fromJson,
  1729. (UkLabourReviewStatusRecords).toString(): UkLabourReviewStatusRecords.fromJson,
  1730. (UkReportCasualEntity).toString(): UkReportCasualEntity.fromJson,
  1731. (UkReportCasualRows).toString(): UkReportCasualRows.fromJson,
  1732. (UkReportCasualTotal).toString(): UkReportCasualTotal.fromJson,
  1733. (UkReportCasualPayEntity).toString(): UkReportCasualPayEntity.fromJson,
  1734. (UkReportCasualPayRows).toString(): UkReportCasualPayRows.fromJson,
  1735. (UkReportCasualPayTotal).toString(): UkReportCasualPayTotal.fromJson,
  1736. (UkReportOutletEntity).toString(): UkReportOutletEntity.fromJson,
  1737. (UkReportOutletRequestList).toString(): UkReportOutletRequestList.fromJson,
  1738. (UkStaffDetailEntity).toString(): UkStaffDetailEntity.fromJson,
  1739. (UkStaffDetailCertificates).toString(): UkStaffDetailCertificates.fromJson,
  1740. (UkStaffLabourHistoryEntity).toString(): UkStaffLabourHistoryEntity.fromJson,
  1741. (UkStaffLabourHistoryRows).toString(): UkStaffLabourHistoryRows.fromJson,
  1742. (UkStaffLabourHistoryRowsSecurityIn).toString(): UkStaffLabourHistoryRowsSecurityIn.fromJson,
  1743. (UkStaffLabourHistoryRowsSecurityOut).toString(): UkStaffLabourHistoryRowsSecurityOut.fromJson,
  1744. (UkStaffLabourHistoryRowsWorkIn).toString(): UkStaffLabourHistoryRowsWorkIn.fromJson,
  1745. (UkStaffLabourHistoryRowsWorkOut).toString(): UkStaffLabourHistoryRowsWorkOut.fromJson,
  1746. (UkTemplateDetailEntity).toString(): UkTemplateDetailEntity.fromJson,
  1747. (UkTemplateDetailRow).toString(): UkTemplateDetailRow.fromJson,
  1748. (UkTemplateDetailTitleList).toString(): UkTemplateDetailTitleList.fromJson,
  1749. (UkTemplateDetailCertificateList).toString(): UkTemplateDetailCertificateList.fromJson,
  1750. (UkTemplateDetailVehicleList).toString(): UkTemplateDetailVehicleList.fromJson,
  1751. (UkTemplateDetailChallenge25List).toString(): UkTemplateDetailChallenge25List.fromJson,
  1752. (UkTemplateDetailIndexEntity).toString(): UkTemplateDetailIndexEntity.fromJson,
  1753. (UkTemplateDetailIndexCertificateList).toString(): UkTemplateDetailIndexCertificateList.fromJson,
  1754. (UkTemplateDetailIndexVehicleList).toString(): UkTemplateDetailIndexVehicleList.fromJson,
  1755. (UkTemplateDetailIndexChallenge25List).toString(): UkTemplateDetailIndexChallenge25List.fromJson,
  1756. (UkTemplateTableEntity).toString(): UkTemplateTableEntity.fromJson,
  1757. (UkTemplateTableRows).toString(): UkTemplateTableRows.fromJson,
  1758. (UkTemplateTitleOptionEntity).toString(): UkTemplateTitleOptionEntity.fromJson,
  1759. (ServerTime).toString(): ServerTime.fromJson,
  1760. };
  1761. bool containsKey(String type) {
  1762. return convertFuncMap.containsKey(type);
  1763. }
  1764. JsonConvertFunction? operator [](String key) {
  1765. return convertFuncMap[key];
  1766. }
  1767. }