json_convert_content.dart 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466
  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/s_g_attendance_review_option_entity.dart';
  67. import 'package:domain/entity/response/s_g_attendance_review_table_entity.dart';
  68. import 'package:domain/entity/response/s_g_attendance_review_workflow_entity.dart';
  69. import 'package:domain/entity/response/s_g_dashboard_entity.dart';
  70. import 'package:domain/entity/response/s_g_labour_request_add_option_entity.dart';
  71. import 'package:domain/entity/response/s_g_labour_request_detail_entity.dart';
  72. import 'package:domain/entity/response/s_g_labour_request_option_entity.dart';
  73. import 'package:domain/entity/response/s_g_labour_request_table_entity.dart';
  74. import 'package:domain/entity/response/s_g_labour_request_worl_flow_entity.dart';
  75. import 'package:domain/entity/response/s_g_labour_review_option_entity.dart';
  76. import 'package:domain/entity/response/s_g_labour_review_table_entity.dart';
  77. import 'package:domain/entity/response/sign_in_sign_out_entity.dart';
  78. import 'package:domain/entity/response/staff_detail_entity.dart';
  79. import 'package:domain/entity/response/staff_detail_s_g_entity.dart';
  80. import 'package:domain/entity/response/staff_job_history_s_g_entity.dart';
  81. import 'package:domain/entity/response/staff_labour_history_entity.dart';
  82. import 'package:domain/entity/response/staff_remark_history_entity.dart';
  83. import 'package:domain/entity/response/staff_report_v_n_entity.dart';
  84. import 'package:domain/entity/response/staff_request_report_entity.dart';
  85. import 'package:domain/entity/response/staff_review_history_s_g_entity.dart';
  86. import 'package:domain/entity/response/switch_project_entity.dart';
  87. import 'package:domain/entity/response/t_h_applied_edit_entity.dart';
  88. import 'package:domain/entity/response/t_h_applied_employee_entity.dart';
  89. import 'package:domain/entity/response/t_h_applied_index_entity.dart';
  90. import 'package:domain/entity/response/t_h_applied_table_entity.dart';
  91. import 'package:domain/entity/response/t_h_employee_detail_entity.dart';
  92. import 'package:domain/entity/response/t_h_employee_remarks_entity.dart';
  93. import 'package:domain/entity/response/t_h_o_a_attachment_entity.dart';
  94. import 'package:domain/entity/response/t_h_o_a_labour_detail_entity.dart';
  95. import 'package:domain/entity/response/t_h_o_a_labour_review_table_entity.dart';
  96. import 'package:domain/entity/response/t_h_o_a_labour_table_entity.dart';
  97. import 'package:domain/entity/response/t_h_pre_selected_option_entity.dart';
  98. import 'package:domain/entity/response/t_h_pre_selected_staff_table_entity.dart';
  99. import 'package:domain/entity/response/t_h_pre_selected_table_entity.dart';
  100. import 'package:domain/entity/response/t_h_upload_file_entity.dart';
  101. import 'package:domain/entity/response/u_k_attendance_entity.dart';
  102. import 'package:domain/entity/response/u_k_report_attendance_entity.dart';
  103. import 'package:domain/entity/response/u_k_report_labour_entity.dart';
  104. import 'package:domain/entity/response/u_k_report_working_hours_entity.dart';
  105. import 'package:domain/entity/response/u_k_security_attendance_entity.dart';
  106. import 'package:domain/entity/response/u_k_security_attendance_option_entity.dart';
  107. import 'package:domain/entity/response/u_k_template_entity.dart';
  108. import 'package:domain/entity/response/uk_attendance_review_entity.dart';
  109. import 'package:domain/entity/response/uk_attendance_review_remark_entity.dart';
  110. import 'package:domain/entity/response/uk_job_applied_revise_add_detail_entity.dart';
  111. import 'package:domain/entity/response/uk_job_applied_revise_edit_detail_entity.dart';
  112. import 'package:domain/entity/response/uk_job_applied_revise_info_entity.dart';
  113. import 'package:domain/entity/response/uk_job_applied_revise_log_entity.dart';
  114. import 'package:domain/entity/response/uk_job_applied_staff_list_entity.dart';
  115. import 'package:domain/entity/response/uk_job_list_applied_staff_search_entity.dart';
  116. import 'package:domain/entity/response/uk_job_template_detail_by_select_title_entity.dart';
  117. import 'package:domain/entity/response/uk_lab_req_show_template_entity.dart';
  118. import 'package:domain/entity/response/uk_labour_request_detail_entity.dart';
  119. import 'package:domain/entity/response/uk_labour_request_preselect_addstatff_list_entity.dart';
  120. import 'package:domain/entity/response/uk_labour_request_preselected_list_entity.dart';
  121. import 'package:domain/entity/response/uk_labour_request_review_detail_entity.dart';
  122. import 'package:domain/entity/response/uk_labour_request_review_list_entity.dart';
  123. import 'package:domain/entity/response/uk_labour_request_table_entity.dart';
  124. import 'package:domain/entity/response/uk_labour_review_status_entity.dart';
  125. import 'package:domain/entity/response/uk_report_casual_entity.dart';
  126. import 'package:domain/entity/response/uk_report_casual_pay_entity.dart';
  127. import 'package:domain/entity/response/uk_report_outlet_entity.dart';
  128. import 'package:domain/entity/response/uk_staff_detail_entity.dart';
  129. import 'package:domain/entity/response/uk_staff_labour_history_entity.dart';
  130. import 'package:domain/entity/response/uk_template_detail_entity.dart';
  131. import 'package:domain/entity/response/uk_template_detail_index_entity.dart';
  132. import 'package:domain/entity/response/uk_template_title_option_entity.dart';
  133. import 'package:domain/entity/server_time.dart';
  134. JsonConvert jsonConvert = JsonConvert();
  135. typedef JsonConvertFunction<T> = T Function(Map<String, dynamic> json);
  136. typedef EnumConvertFunction<T> = T Function(String value);
  137. typedef ConvertExceptionHandler = void Function(Object error, StackTrace stackTrace);
  138. extension MapSafeExt<K, V> on Map<K, V> {
  139. T? getOrNull<T>(K? key) {
  140. if (!containsKey(key) || key == null) {
  141. return null;
  142. } else {
  143. return this[key] as T?;
  144. }
  145. }
  146. }
  147. class JsonConvert {
  148. static ConvertExceptionHandler? onError;
  149. JsonConvertClassCollection convertFuncMap = JsonConvertClassCollection();
  150. /// 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
  151. /// https://flutter.cn/docs/development/tools/hot-reload
  152. /// class MyApp extends StatelessWidget {
  153. /// const MyApp({Key? key})
  154. /// : super(key: key);
  155. ///
  156. /// @override
  157. /// Widget build(BuildContext context) {
  158. /// jsonConvert.reassembleConvertFuncMap();
  159. /// return MaterialApp();
  160. /// }
  161. /// }
  162. void reassembleConvertFuncMap() {
  163. bool isReleaseMode = const bool.fromEnvironment('dart.vm.product');
  164. if (!isReleaseMode) {
  165. convertFuncMap = JsonConvertClassCollection();
  166. }
  167. }
  168. T? convert<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  169. if (value == null) {
  170. return null;
  171. }
  172. if (value is T) {
  173. return value;
  174. }
  175. try {
  176. return _asT<T>(value, enumConvert: enumConvert);
  177. } catch (e, stackTrace) {
  178. debugPrint('asT<$T> $e $stackTrace');
  179. if (onError != null) {
  180. onError!(e, stackTrace);
  181. }
  182. return null;
  183. }
  184. }
  185. List<T?>? convertList<T>(List<dynamic>? value, {EnumConvertFunction? enumConvert}) {
  186. if (value == null) {
  187. return null;
  188. }
  189. try {
  190. return value.map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)).toList();
  191. } catch (e, stackTrace) {
  192. debugPrint('asT<$T> $e $stackTrace');
  193. if (onError != null) {
  194. onError!(e, stackTrace);
  195. }
  196. return <T>[];
  197. }
  198. }
  199. List<T>? convertListNotNull<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  200. if (value == null) {
  201. return null;
  202. }
  203. try {
  204. return (value as List<dynamic>).map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)!).toList();
  205. } catch (e, stackTrace) {
  206. debugPrint('asT<$T> $e $stackTrace');
  207. if (onError != null) {
  208. onError!(e, stackTrace);
  209. }
  210. return <T>[];
  211. }
  212. }
  213. T? _asT<T extends Object?>(dynamic value,
  214. {EnumConvertFunction? enumConvert}) {
  215. final String type = T.toString();
  216. final String valueS = value.toString();
  217. if (enumConvert != null) {
  218. return enumConvert(valueS) as T;
  219. } else if (type == "String") {
  220. return valueS as T;
  221. } else if (type == "int") {
  222. final int? intValue = int.tryParse(valueS);
  223. if (intValue == null) {
  224. return double.tryParse(valueS)?.toInt() as T?;
  225. } else {
  226. return intValue as T;
  227. }
  228. } else if (type == "double") {
  229. return double.parse(valueS) as T;
  230. } else if (type == "DateTime") {
  231. return DateTime.parse(valueS) as T;
  232. } else if (type == "bool") {
  233. if (valueS == '0' || valueS == '1') {
  234. return (valueS == '1') as T;
  235. }
  236. return (valueS == 'true') as T;
  237. } else if (type == "Map" || type.startsWith("Map<")) {
  238. return value as T;
  239. } else {
  240. if (convertFuncMap.containsKey(type)) {
  241. if (value == null) {
  242. return null;
  243. }
  244. var covertFunc = convertFuncMap[type]!;
  245. if (covertFunc is Map<String, dynamic>) {
  246. return covertFunc(value as Map<String, dynamic>) as T;
  247. } else {
  248. return covertFunc(Map<String, dynamic>.from(value)) as T;
  249. }
  250. } else {
  251. throw UnimplementedError('$type unimplemented,you can try running the app again');
  252. }
  253. }
  254. }
  255. //list is returned by type
  256. static M? _getListChildType<M>(List<Map<String, dynamic>> data) {
  257. if (<AddEditReviseViewSGEntity>[] is M) {
  258. return data.map<AddEditReviseViewSGEntity>((Map<String, dynamic> e) => AddEditReviseViewSGEntity.fromJson(e)).toList() as M;
  259. }
  260. if (<AgencyDetailEntity>[] is M) {
  261. return data.map<AgencyDetailEntity>((Map<String, dynamic> e) => AgencyDetailEntity.fromJson(e)).toList() as M;
  262. }
  263. if (<AgencyDetailPivot>[] is M) {
  264. return data.map<AgencyDetailPivot>((Map<String, dynamic> e) => AgencyDetailPivot.fromJson(e)).toList() as M;
  265. }
  266. if (<AgencyOptionEntity>[] is M) {
  267. return data.map<AgencyOptionEntity>((Map<String, dynamic> e) => AgencyOptionEntity.fromJson(e)).toList() as M;
  268. }
  269. if (<AgencyTableEntity>[] is M) {
  270. return data.map<AgencyTableEntity>((Map<String, dynamic> e) => AgencyTableEntity.fromJson(e)).toList() as M;
  271. }
  272. if (<AgencyTableRows>[] is M) {
  273. return data.map<AgencyTableRows>((Map<String, dynamic> e) => AgencyTableRows.fromJson(e)).toList() as M;
  274. }
  275. if (<AttendanceEntity>[] is M) {
  276. return data.map<AttendanceEntity>((Map<String, dynamic> e) => AttendanceEntity.fromJson(e)).toList() as M;
  277. }
  278. if (<AttendanceList>[] is M) {
  279. return data.map<AttendanceList>((Map<String, dynamic> e) => AttendanceList.fromJson(e)).toList() as M;
  280. }
  281. if (<AttendanceReviewEntity>[] is M) {
  282. return data.map<AttendanceReviewEntity>((Map<String, dynamic> e) => AttendanceReviewEntity.fromJson(e)).toList() as M;
  283. }
  284. if (<AttendanceReviewRows>[] is M) {
  285. return data.map<AttendanceReviewRows>((Map<String, dynamic> e) => AttendanceReviewRows.fromJson(e)).toList() as M;
  286. }
  287. if (<CheckSuccessEntity>[] is M) {
  288. return data.map<CheckSuccessEntity>((Map<String, dynamic> e) => CheckSuccessEntity.fromJson(e)).toList() as M;
  289. }
  290. if (<ContractDetailEntity>[] is M) {
  291. return data.map<ContractDetailEntity>((Map<String, dynamic> e) => ContractDetailEntity.fromJson(e)).toList() as M;
  292. }
  293. if (<ContractDetailRow>[] is M) {
  294. return data.map<ContractDetailRow>((Map<String, dynamic> e) => ContractDetailRow.fromJson(e)).toList() as M;
  295. }
  296. if (<ContractOptionEntity>[] is M) {
  297. return data.map<ContractOptionEntity>((Map<String, dynamic> e) => ContractOptionEntity.fromJson(e)).toList() as M;
  298. }
  299. if (<ContractPositionAddOptionEntity>[] is M) {
  300. return data.map<ContractPositionAddOptionEntity>((Map<String, dynamic> e) => ContractPositionAddOptionEntity.fromJson(e)).toList() as M;
  301. }
  302. if (<ContractPositionOptionEntity>[] is M) {
  303. return data.map<ContractPositionOptionEntity>((Map<String, dynamic> e) => ContractPositionOptionEntity.fromJson(e)).toList() as M;
  304. }
  305. if (<ContractPositionRateDetailEntity>[] is M) {
  306. return data.map<ContractPositionRateDetailEntity>((Map<String, dynamic> e) => ContractPositionRateDetailEntity.fromJson(e)).toList() as M;
  307. }
  308. if (<ContractPositionRateSpecificOptionEntity>[] is M) {
  309. return data.map<ContractPositionRateSpecificOptionEntity>((Map<String, dynamic> e) => ContractPositionRateSpecificOptionEntity.fromJson(e)).toList() as M;
  310. }
  311. if (<ContractPositionRateTableEntity>[] is M) {
  312. return data.map<ContractPositionRateTableEntity>((Map<String, dynamic> e) => ContractPositionRateTableEntity.fromJson(e)).toList() as M;
  313. }
  314. if (<ContractPositionRateTableRows>[] is M) {
  315. return data.map<ContractPositionRateTableRows>((Map<String, dynamic> e) => ContractPositionRateTableRows.fromJson(e)).toList() as M;
  316. }
  317. if (<ContractPositionTableEntity>[] is M) {
  318. return data.map<ContractPositionTableEntity>((Map<String, dynamic> e) => ContractPositionTableEntity.fromJson(e)).toList() as M;
  319. }
  320. if (<ContractPositionTableRows>[] is M) {
  321. return data.map<ContractPositionTableRows>((Map<String, dynamic> e) => ContractPositionTableRows.fromJson(e)).toList() as M;
  322. }
  323. if (<ContractTableEntity>[] is M) {
  324. return data.map<ContractTableEntity>((Map<String, dynamic> e) => ContractTableEntity.fromJson(e)).toList() as M;
  325. }
  326. if (<ContractTableRows>[] is M) {
  327. return data.map<ContractTableRows>((Map<String, dynamic> e) => ContractTableRows.fromJson(e)).toList() as M;
  328. }
  329. if (<DeviceListEntity>[] is M) {
  330. return data.map<DeviceListEntity>((Map<String, dynamic> e) => DeviceListEntity.fromJson(e)).toList() as M;
  331. }
  332. if (<DeviceListRows>[] is M) {
  333. return data.map<DeviceListRows>((Map<String, dynamic> e) => DeviceListRows.fromJson(e)).toList() as M;
  334. }
  335. if (<FianceReportEntity>[] is M) {
  336. return data.map<FianceReportEntity>((Map<String, dynamic> e) => FianceReportEntity.fromJson(e)).toList() as M;
  337. }
  338. if (<FianceReportRateList>[] is M) {
  339. return data.map<FianceReportRateList>((Map<String, dynamic> e) => FianceReportRateList.fromJson(e)).toList() as M;
  340. }
  341. if (<HotelInfoEntity>[] is M) {
  342. return data.map<HotelInfoEntity>((Map<String, dynamic> e) => HotelInfoEntity.fromJson(e)).toList() as M;
  343. }
  344. if (<HotelInfoMenus>[] is M) {
  345. return data.map<HotelInfoMenus>((Map<String, dynamic> e) => HotelInfoMenus.fromJson(e)).toList() as M;
  346. }
  347. if (<HotelInfoMenusChildren>[] is M) {
  348. return data.map<HotelInfoMenusChildren>((Map<String, dynamic> e) => HotelInfoMenusChildren.fromJson(e)).toList() as M;
  349. }
  350. if (<IdNameEntity>[] is M) {
  351. return data.map<IdNameEntity>((Map<String, dynamic> e) => IdNameEntity.fromJson(e)).toList() as M;
  352. }
  353. if (<IndexOptionEntity>[] is M) {
  354. return data.map<IndexOptionEntity>((Map<String, dynamic> e) => IndexOptionEntity.fromJson(e)).toList() as M;
  355. }
  356. if (<JobAppliedEditIndexSGEntity>[] is M) {
  357. return data.map<JobAppliedEditIndexSGEntity>((Map<String, dynamic> e) => JobAppliedEditIndexSGEntity.fromJson(e)).toList() as M;
  358. }
  359. if (<JobAppliedEditIndexSGStatusList>[] is M) {
  360. return data.map<JobAppliedEditIndexSGStatusList>((Map<String, dynamic> e) => JobAppliedEditIndexSGStatusList.fromJson(e)).toList() as M;
  361. }
  362. if (<JobAppliedIndexSGEntity>[] is M) {
  363. return data.map<JobAppliedIndexSGEntity>((Map<String, dynamic> e) => JobAppliedIndexSGEntity.fromJson(e)).toList() as M;
  364. }
  365. if (<JobAppliedIndexSGStatusList>[] is M) {
  366. return data.map<JobAppliedIndexSGStatusList>((Map<String, dynamic> e) => JobAppliedIndexSGStatusList.fromJson(e)).toList() as M;
  367. }
  368. if (<JobAppliedListSGEntity>[] is M) {
  369. return data.map<JobAppliedListSGEntity>((Map<String, dynamic> e) => JobAppliedListSGEntity.fromJson(e)).toList() as M;
  370. }
  371. if (<JobAppliedListSGRows>[] is M) {
  372. return data.map<JobAppliedListSGRows>((Map<String, dynamic> e) => JobAppliedListSGRows.fromJson(e)).toList() as M;
  373. }
  374. if (<JobAppliedListSGRowsCheck>[] is M) {
  375. return data.map<JobAppliedListSGRowsCheck>((Map<String, dynamic> e) => JobAppliedListSGRowsCheck.fromJson(e)).toList() as M;
  376. }
  377. if (<JobAppliedListSGRowsStatusList>[] is M) {
  378. return data.map<JobAppliedListSGRowsStatusList>((Map<String, dynamic> e) => JobAppliedListSGRowsStatusList.fromJson(e)).toList() as M;
  379. }
  380. if (<JobAppliedRemarkViewSGEntity>[] is M) {
  381. return data.map<JobAppliedRemarkViewSGEntity>((Map<String, dynamic> e) => JobAppliedRemarkViewSGEntity.fromJson(e)).toList() as M;
  382. }
  383. if (<JobAppliedStaffSGEntity>[] is M) {
  384. return data.map<JobAppliedStaffSGEntity>((Map<String, dynamic> e) => JobAppliedStaffSGEntity.fromJson(e)).toList() as M;
  385. }
  386. if (<JobAppliedStaffSGRows>[] is M) {
  387. return data.map<JobAppliedStaffSGRows>((Map<String, dynamic> e) => JobAppliedStaffSGRows.fromJson(e)).toList() as M;
  388. }
  389. if (<JobListAddStaffEntity>[] is M) {
  390. return data.map<JobListAddStaffEntity>((Map<String, dynamic> e) => JobListAddStaffEntity.fromJson(e)).toList() as M;
  391. }
  392. if (<JobListAddStaffResultList>[] is M) {
  393. return data.map<JobListAddStaffResultList>((Map<String, dynamic> e) => JobListAddStaffResultList.fromJson(e)).toList() as M;
  394. }
  395. if (<JobListAppliedEditEntity>[] is M) {
  396. return data.map<JobListAppliedEditEntity>((Map<String, dynamic> e) => JobListAppliedEditEntity.fromJson(e)).toList() as M;
  397. }
  398. if (<JobListAppliedEditReasonList>[] is M) {
  399. return data.map<JobListAppliedEditReasonList>((Map<String, dynamic> e) => JobListAppliedEditReasonList.fromJson(e)).toList() as M;
  400. }
  401. if (<JobListAppliedInfoEntity>[] is M) {
  402. return data.map<JobListAppliedInfoEntity>((Map<String, dynamic> e) => JobListAppliedInfoEntity.fromJson(e)).toList() as M;
  403. }
  404. if (<JobListAppliedStaffListEntity>[] is M) {
  405. return data.map<JobListAppliedStaffListEntity>((Map<String, dynamic> e) => JobListAppliedStaffListEntity.fromJson(e)).toList() as M;
  406. }
  407. if (<JobListAppliedStaffListRows>[] is M) {
  408. return data.map<JobListAppliedStaffListRows>((Map<String, dynamic> e) => JobListAppliedStaffListRows.fromJson(e)).toList() as M;
  409. }
  410. if (<JobListAppliedStaffListRowsSecurityIn>[] is M) {
  411. return data.map<JobListAppliedStaffListRowsSecurityIn>((Map<String, dynamic> e) => JobListAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
  412. }
  413. if (<JobListAppliedStaffListRowsSecurityOut>[] is M) {
  414. return data.map<JobListAppliedStaffListRowsSecurityOut>((Map<String, dynamic> e) => JobListAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
  415. }
  416. if (<JobListAppliedStaffListRowsWorkIn>[] is M) {
  417. return data.map<JobListAppliedStaffListRowsWorkIn>((Map<String, dynamic> e) => JobListAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
  418. }
  419. if (<JobListAppliedStaffListRowsWorkOut>[] is M) {
  420. return data.map<JobListAppliedStaffListRowsWorkOut>((Map<String, dynamic> e) => JobListAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
  421. }
  422. if (<JobListAppliedStaffSearchEntity>[] is M) {
  423. return data.map<JobListAppliedStaffSearchEntity>((Map<String, dynamic> e) => JobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
  424. }
  425. if (<JobListAppliedStaffSearchRows>[] is M) {
  426. return data.map<JobListAppliedStaffSearchRows>((Map<String, dynamic> e) => JobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
  427. }
  428. if (<JobListAppliedWorkFlowEntity>[] is M) {
  429. return data.map<JobListAppliedWorkFlowEntity>((Map<String, dynamic> e) => JobListAppliedWorkFlowEntity.fromJson(e)).toList() as M;
  430. }
  431. if (<JobListAppliedWorkFlowRecords>[] is M) {
  432. return data.map<JobListAppliedWorkFlowRecords>((Map<String, dynamic> e) => JobListAppliedWorkFlowRecords.fromJson(e)).toList() as M;
  433. }
  434. if (<JobListDetailEntity>[] is M) {
  435. return data.map<JobListDetailEntity>((Map<String, dynamic> e) => JobListDetailEntity.fromJson(e)).toList() as M;
  436. }
  437. if (<JobListDetailDepartmentList>[] is M) {
  438. return data.map<JobListDetailDepartmentList>((Map<String, dynamic> e) => JobListDetailDepartmentList.fromJson(e)).toList() as M;
  439. }
  440. if (<JobListERDetailEntity>[] is M) {
  441. return data.map<JobListERDetailEntity>((Map<String, dynamic> e) => JobListERDetailEntity.fromJson(e)).toList() as M;
  442. }
  443. if (<JobListERDetailJob>[] is M) {
  444. return data.map<JobListERDetailJob>((Map<String, dynamic> e) => JobListERDetailJob.fromJson(e)).toList() as M;
  445. }
  446. if (<JobListEROptionEntity>[] is M) {
  447. return data.map<JobListEROptionEntity>((Map<String, dynamic> e) => JobListEROptionEntity.fromJson(e)).toList() as M;
  448. }
  449. if (<JobListEROptionFilter>[] is M) {
  450. return data.map<JobListEROptionFilter>((Map<String, dynamic> e) => JobListEROptionFilter.fromJson(e)).toList() as M;
  451. }
  452. if (<JobListEditIndexSGEntity>[] is M) {
  453. return data.map<JobListEditIndexSGEntity>((Map<String, dynamic> e) => JobListEditIndexSGEntity.fromJson(e)).toList() as M;
  454. }
  455. if (<JobListEditIndexOption>[] is M) {
  456. return data.map<JobListEditIndexOption>((Map<String, dynamic> e) => JobListEditIndexOption.fromJson(e)).toList() as M;
  457. }
  458. if (<JobListEntity>[] is M) {
  459. return data.map<JobListEntity>((Map<String, dynamic> e) => JobListEntity.fromJson(e)).toList() as M;
  460. }
  461. if (<JobListRows>[] is M) {
  462. return data.map<JobListRows>((Map<String, dynamic> e) => JobListRows.fromJson(e)).toList() as M;
  463. }
  464. if (<JobListIndexEntity>[] is M) {
  465. return data.map<JobListIndexEntity>((Map<String, dynamic> e) => JobListIndexEntity.fromJson(e)).toList() as M;
  466. }
  467. if (<JobListIndexDepartmentList>[] is M) {
  468. return data.map<JobListIndexDepartmentList>((Map<String, dynamic> e) => JobListIndexDepartmentList.fromJson(e)).toList() as M;
  469. }
  470. if (<JobListIndexStatusList>[] is M) {
  471. return data.map<JobListIndexStatusList>((Map<String, dynamic> e) => JobListIndexStatusList.fromJson(e)).toList() as M;
  472. }
  473. if (<JobListIndexSGEntity>[] is M) {
  474. return data.map<JobListIndexSGEntity>((Map<String, dynamic> e) => JobListIndexSGEntity.fromJson(e)).toList() as M;
  475. }
  476. if (<JobListIndexSGOption>[] is M) {
  477. return data.map<JobListIndexSGOption>((Map<String, dynamic> e) => JobListIndexSGOption.fromJson(e)).toList() as M;
  478. }
  479. if (<JobListRemarkViewEntity>[] is M) {
  480. return data.map<JobListRemarkViewEntity>((Map<String, dynamic> e) => JobListRemarkViewEntity.fromJson(e)).toList() as M;
  481. }
  482. if (<JobListSGEntity>[] is M) {
  483. return data.map<JobListSGEntity>((Map<String, dynamic> e) => JobListSGEntity.fromJson(e)).toList() as M;
  484. }
  485. if (<JobListSGRows>[] is M) {
  486. return data.map<JobListSGRows>((Map<String, dynamic> e) => JobListSGRows.fromJson(e)).toList() as M;
  487. }
  488. if (<JobTemplateEditIndexEntity>[] is M) {
  489. return data.map<JobTemplateEditIndexEntity>((Map<String, dynamic> e) => JobTemplateEditIndexEntity.fromJson(e)).toList() as M;
  490. }
  491. if (<JobTemplateEditIndexAgeList>[] is M) {
  492. return data.map<JobTemplateEditIndexAgeList>((Map<String, dynamic> e) => JobTemplateEditIndexAgeList.fromJson(e)).toList() as M;
  493. }
  494. if (<JobTemplateEditIndexSexList>[] is M) {
  495. return data.map<JobTemplateEditIndexSexList>((Map<String, dynamic> e) => JobTemplateEditIndexSexList.fromJson(e)).toList() as M;
  496. }
  497. if (<JobTemplateEditIndexLanguageList>[] is M) {
  498. return data.map<JobTemplateEditIndexLanguageList>((Map<String, dynamic> e) => JobTemplateEditIndexLanguageList.fromJson(e)).toList() as M;
  499. }
  500. if (<JobTemplateSGEntity>[] is M) {
  501. return data.map<JobTemplateSGEntity>((Map<String, dynamic> e) => JobTemplateSGEntity.fromJson(e)).toList() as M;
  502. }
  503. if (<JobTemplateSGRows>[] is M) {
  504. return data.map<JobTemplateSGRows>((Map<String, dynamic> e) => JobTemplateSGRows.fromJson(e)).toList() as M;
  505. }
  506. if (<JobTitleEditIndexEntity>[] is M) {
  507. return data.map<JobTitleEditIndexEntity>((Map<String, dynamic> e) => JobTitleEditIndexEntity.fromJson(e)).toList() as M;
  508. }
  509. if (<JobTitleEditIndexTemplate>[] is M) {
  510. return data.map<JobTitleEditIndexTemplate>((Map<String, dynamic> e) => JobTitleEditIndexTemplate.fromJson(e)).toList() as M;
  511. }
  512. if (<JobTitleSGEntity>[] is M) {
  513. return data.map<JobTitleSGEntity>((Map<String, dynamic> e) => JobTitleSGEntity.fromJson(e)).toList() as M;
  514. }
  515. if (<JobTitleSGRows>[] is M) {
  516. return data.map<JobTitleSGRows>((Map<String, dynamic> e) => JobTitleSGRows.fromJson(e)).toList() as M;
  517. }
  518. if (<LabourListEREntity>[] is M) {
  519. return data.map<LabourListEREntity>((Map<String, dynamic> e) => LabourListEREntity.fromJson(e)).toList() as M;
  520. }
  521. if (<LabourListERRows>[] is M) {
  522. return data.map<LabourListERRows>((Map<String, dynamic> e) => LabourListERRows.fromJson(e)).toList() as M;
  523. }
  524. if (<LabourReportEntity>[] is M) {
  525. return data.map<LabourReportEntity>((Map<String, dynamic> e) => LabourReportEntity.fromJson(e)).toList() as M;
  526. }
  527. if (<LabourReportRows>[] is M) {
  528. return data.map<LabourReportRows>((Map<String, dynamic> e) => LabourReportRows.fromJson(e)).toList() as M;
  529. }
  530. if (<LabourReportTotal>[] is M) {
  531. return data.map<LabourReportTotal>((Map<String, dynamic> e) => LabourReportTotal.fromJson(e)).toList() as M;
  532. }
  533. if (<LabourReportVNEntity>[] is M) {
  534. return data.map<LabourReportVNEntity>((Map<String, dynamic> e) => LabourReportVNEntity.fromJson(e)).toList() as M;
  535. }
  536. if (<LabourReportVNRows>[] is M) {
  537. return data.map<LabourReportVNRows>((Map<String, dynamic> e) => LabourReportVNRows.fromJson(e)).toList() as M;
  538. }
  539. if (<LabourReportVNTotal>[] is M) {
  540. return data.map<LabourReportVNTotal>((Map<String, dynamic> e) => LabourReportVNTotal.fromJson(e)).toList() as M;
  541. }
  542. if (<LabourRequestEREntity>[] is M) {
  543. return data.map<LabourRequestEREntity>((Map<String, dynamic> e) => LabourRequestEREntity.fromJson(e)).toList() as M;
  544. }
  545. if (<LabourRequestERCountList>[] is M) {
  546. return data.map<LabourRequestERCountList>((Map<String, dynamic> e) => LabourRequestERCountList.fromJson(e)).toList() as M;
  547. }
  548. if (<LabourRequestERSourceList>[] is M) {
  549. return data.map<LabourRequestERSourceList>((Map<String, dynamic> e) => LabourRequestERSourceList.fromJson(e)).toList() as M;
  550. }
  551. if (<LabourRequestERSourceListRequestList>[] is M) {
  552. return data.map<LabourRequestERSourceListRequestList>((Map<String, dynamic> e) => LabourRequestERSourceListRequestList.fromJson(e)).toList() as M;
  553. }
  554. if (<LabourRequestEROptionEntity>[] is M) {
  555. return data.map<LabourRequestEROptionEntity>((Map<String, dynamic> e) => LabourRequestEROptionEntity.fromJson(e)).toList() as M;
  556. }
  557. if (<LabourRequestEditIndexEntity>[] is M) {
  558. return data.map<LabourRequestEditIndexEntity>((Map<String, dynamic> e) => LabourRequestEditIndexEntity.fromJson(e)).toList() as M;
  559. }
  560. if (<LabourRequestEditIndexTemplateList>[] is M) {
  561. return data.map<LabourRequestEditIndexTemplateList>((Map<String, dynamic> e) => LabourRequestEditIndexTemplateList.fromJson(e)).toList() as M;
  562. }
  563. if (<LabourRequestEditIndexDepartmentList>[] is M) {
  564. return data.map<LabourRequestEditIndexDepartmentList>((Map<String, dynamic> e) => LabourRequestEditIndexDepartmentList.fromJson(e)).toList() as M;
  565. }
  566. if (<LabourRequestIndexEntity>[] is M) {
  567. return data.map<LabourRequestIndexEntity>((Map<String, dynamic> e) => LabourRequestIndexEntity.fromJson(e)).toList() as M;
  568. }
  569. if (<LabourRequestIndexDepartmentList>[] is M) {
  570. return data.map<LabourRequestIndexDepartmentList>((Map<String, dynamic> e) => LabourRequestIndexDepartmentList.fromJson(e)).toList() as M;
  571. }
  572. if (<LabourRequestIndexStatusList>[] is M) {
  573. return data.map<LabourRequestIndexStatusList>((Map<String, dynamic> e) => LabourRequestIndexStatusList.fromJson(e)).toList() as M;
  574. }
  575. if (<LabourRequestListEntity>[] is M) {
  576. return data.map<LabourRequestListEntity>((Map<String, dynamic> e) => LabourRequestListEntity.fromJson(e)).toList() as M;
  577. }
  578. if (<LabourRequestListRows>[] is M) {
  579. return data.map<LabourRequestListRows>((Map<String, dynamic> e) => LabourRequestListRows.fromJson(e)).toList() as M;
  580. }
  581. if (<LabourRequestWorkFlowEntity>[] is M) {
  582. return data.map<LabourRequestWorkFlowEntity>((Map<String, dynamic> e) => LabourRequestWorkFlowEntity.fromJson(e)).toList() as M;
  583. }
  584. if (<LabourRequestWorkFlowRecords>[] is M) {
  585. return data.map<LabourRequestWorkFlowRecords>((Map<String, dynamic> e) => LabourRequestWorkFlowRecords.fromJson(e)).toList() as M;
  586. }
  587. if (<LabourReviewListEntity>[] is M) {
  588. return data.map<LabourReviewListEntity>((Map<String, dynamic> e) => LabourReviewListEntity.fromJson(e)).toList() as M;
  589. }
  590. if (<LabourReviewListRows>[] is M) {
  591. return data.map<LabourReviewListRows>((Map<String, dynamic> e) => LabourReviewListRows.fromJson(e)).toList() as M;
  592. }
  593. if (<LabourReviewStatusEntity>[] is M) {
  594. return data.map<LabourReviewStatusEntity>((Map<String, dynamic> e) => LabourReviewStatusEntity.fromJson(e)).toList() as M;
  595. }
  596. if (<LabourReviewStatusRecords>[] is M) {
  597. return data.map<LabourReviewStatusRecords>((Map<String, dynamic> e) => LabourReviewStatusRecords.fromJson(e)).toList() as M;
  598. }
  599. if (<PositionTableEntity>[] is M) {
  600. return data.map<PositionTableEntity>((Map<String, dynamic> e) => PositionTableEntity.fromJson(e)).toList() as M;
  601. }
  602. if (<PositionTableRows>[] is M) {
  603. return data.map<PositionTableRows>((Map<String, dynamic> e) => PositionTableRows.fromJson(e)).toList() as M;
  604. }
  605. if (<ReviseIndexSGEntity>[] is M) {
  606. return data.map<ReviseIndexSGEntity>((Map<String, dynamic> e) => ReviseIndexSGEntity.fromJson(e)).toList() as M;
  607. }
  608. if (<ReviseIndexSGStatusList>[] is M) {
  609. return data.map<ReviseIndexSGStatusList>((Map<String, dynamic> e) => ReviseIndexSGStatusList.fromJson(e)).toList() as M;
  610. }
  611. if (<ReviseListSGEntity>[] is M) {
  612. return data.map<ReviseListSGEntity>((Map<String, dynamic> e) => ReviseListSGEntity.fromJson(e)).toList() as M;
  613. }
  614. if (<ReviseListSGRows>[] is M) {
  615. return data.map<ReviseListSGRows>((Map<String, dynamic> e) => ReviseListSGRows.fromJson(e)).toList() as M;
  616. }
  617. if (<ReviseLogSGEntity>[] is M) {
  618. return data.map<ReviseLogSGEntity>((Map<String, dynamic> e) => ReviseLogSGEntity.fromJson(e)).toList() as M;
  619. }
  620. if (<ReviseLogSGRecords>[] is M) {
  621. return data.map<ReviseLogSGRecords>((Map<String, dynamic> e) => ReviseLogSGRecords.fromJson(e)).toList() as M;
  622. }
  623. if (<ReviseLogSGRecordsContent>[] is M) {
  624. return data.map<ReviseLogSGRecordsContent>((Map<String, dynamic> e) => ReviseLogSGRecordsContent.fromJson(e)).toList() as M;
  625. }
  626. if (<ReviseLogSGRecordsOption>[] is M) {
  627. return data.map<ReviseLogSGRecordsOption>((Map<String, dynamic> e) => ReviseLogSGRecordsOption.fromJson(e)).toList() as M;
  628. }
  629. if (<SGAttendanceReviewOptionEntity>[] is M) {
  630. return data.map<SGAttendanceReviewOptionEntity>((Map<String, dynamic> e) => SGAttendanceReviewOptionEntity.fromJson(e)).toList() as M;
  631. }
  632. if (<SGAttendanceReviewTableEntity>[] is M) {
  633. return data.map<SGAttendanceReviewTableEntity>((Map<String, dynamic> e) => SGAttendanceReviewTableEntity.fromJson(e)).toList() as M;
  634. }
  635. if (<SGAttendanceReviewTableRows>[] is M) {
  636. return data.map<SGAttendanceReviewTableRows>((Map<String, dynamic> e) => SGAttendanceReviewTableRows.fromJson(e)).toList() as M;
  637. }
  638. if (<SGAttendanceReviewTableRowsCheck>[] is M) {
  639. return data.map<SGAttendanceReviewTableRowsCheck>((Map<String, dynamic> e) => SGAttendanceReviewTableRowsCheck.fromJson(e)).toList() as M;
  640. }
  641. if (<SGAttendanceReviewWorkflowEntity>[] is M) {
  642. return data.map<SGAttendanceReviewWorkflowEntity>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowEntity.fromJson(e)).toList() as M;
  643. }
  644. if (<SGAttendanceReviewWorkflowRow>[] is M) {
  645. return data.map<SGAttendanceReviewWorkflowRow>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowRow.fromJson(e)).toList() as M;
  646. }
  647. if (<SGAttendanceReviewWorkflowRecords>[] is M) {
  648. return data.map<SGAttendanceReviewWorkflowRecords>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowRecords.fromJson(e)).toList() as M;
  649. }
  650. if (<SGDashboardEntity>[] is M) {
  651. return data.map<SGDashboardEntity>((Map<String, dynamic> e) => SGDashboardEntity.fromJson(e)).toList() as M;
  652. }
  653. if (<SGDashboardAgencyList>[] is M) {
  654. return data.map<SGDashboardAgencyList>((Map<String, dynamic> e) => SGDashboardAgencyList.fromJson(e)).toList() as M;
  655. }
  656. if (<SGDashboardAgencyListDays>[] is M) {
  657. return data.map<SGDashboardAgencyListDays>((Map<String, dynamic> e) => SGDashboardAgencyListDays.fromJson(e)).toList() as M;
  658. }
  659. if (<SGLabourRequestAddOptionEntity>[] is M) {
  660. return data.map<SGLabourRequestAddOptionEntity>((Map<String, dynamic> e) => SGLabourRequestAddOptionEntity.fromJson(e)).toList() as M;
  661. }
  662. if (<LabourRequestAgencyEntity>[] is M) {
  663. return data.map<LabourRequestAgencyEntity>((Map<String, dynamic> e) => LabourRequestAgencyEntity.fromJson(e)).toList() as M;
  664. }
  665. if (<SGLabourRequestDetailEntity>[] is M) {
  666. return data.map<SGLabourRequestDetailEntity>((Map<String, dynamic> e) => SGLabourRequestDetailEntity.fromJson(e)).toList() as M;
  667. }
  668. if (<SGLabourRequestDetailLabReq>[] is M) {
  669. return data.map<SGLabourRequestDetailLabReq>((Map<String, dynamic> e) => SGLabourRequestDetailLabReq.fromJson(e)).toList() as M;
  670. }
  671. if (<SGLabourRequestOptionEntity>[] is M) {
  672. return data.map<SGLabourRequestOptionEntity>((Map<String, dynamic> e) => SGLabourRequestOptionEntity.fromJson(e)).toList() as M;
  673. }
  674. if (<SGLabourRequestTableEntity>[] is M) {
  675. return data.map<SGLabourRequestTableEntity>((Map<String, dynamic> e) => SGLabourRequestTableEntity.fromJson(e)).toList() as M;
  676. }
  677. if (<SGLabourRequestTableRows>[] is M) {
  678. return data.map<SGLabourRequestTableRows>((Map<String, dynamic> e) => SGLabourRequestTableRows.fromJson(e)).toList() as M;
  679. }
  680. if (<SGLabourRequestWorlFlowEntity>[] is M) {
  681. return data.map<SGLabourRequestWorlFlowEntity>((Map<String, dynamic> e) => SGLabourRequestWorlFlowEntity.fromJson(e)).toList() as M;
  682. }
  683. if (<SGLabourRequestWorlFlowRow>[] is M) {
  684. return data.map<SGLabourRequestWorlFlowRow>((Map<String, dynamic> e) => SGLabourRequestWorlFlowRow.fromJson(e)).toList() as M;
  685. }
  686. if (<SGLabourRequestWorlFlowRecords>[] is M) {
  687. return data.map<SGLabourRequestWorlFlowRecords>((Map<String, dynamic> e) => SGLabourRequestWorlFlowRecords.fromJson(e)).toList() as M;
  688. }
  689. if (<SGLabourReviewOptionEntity>[] is M) {
  690. return data.map<SGLabourReviewOptionEntity>((Map<String, dynamic> e) => SGLabourReviewOptionEntity.fromJson(e)).toList() as M;
  691. }
  692. if (<SGLabourReviewTableEntity>[] is M) {
  693. return data.map<SGLabourReviewTableEntity>((Map<String, dynamic> e) => SGLabourReviewTableEntity.fromJson(e)).toList() as M;
  694. }
  695. if (<SGLabourReviewTableRows>[] is M) {
  696. return data.map<SGLabourReviewTableRows>((Map<String, dynamic> e) => SGLabourReviewTableRows.fromJson(e)).toList() as M;
  697. }
  698. if (<SignInSignOutEntity>[] is M) {
  699. return data.map<SignInSignOutEntity>((Map<String, dynamic> e) => SignInSignOutEntity.fromJson(e)).toList() as M;
  700. }
  701. if (<SignInSignOutRows>[] is M) {
  702. return data.map<SignInSignOutRows>((Map<String, dynamic> e) => SignInSignOutRows.fromJson(e)).toList() as M;
  703. }
  704. if (<StaffDetailEntity>[] is M) {
  705. return data.map<StaffDetailEntity>((Map<String, dynamic> e) => StaffDetailEntity.fromJson(e)).toList() as M;
  706. }
  707. if (<StaffDetailSGEntity>[] is M) {
  708. return data.map<StaffDetailSGEntity>((Map<String, dynamic> e) => StaffDetailSGEntity.fromJson(e)).toList() as M;
  709. }
  710. if (<StaffDetailSGReviews>[] is M) {
  711. return data.map<StaffDetailSGReviews>((Map<String, dynamic> e) => StaffDetailSGReviews.fromJson(e)).toList() as M;
  712. }
  713. if (<StaffDetailSGReviewsReviews>[] is M) {
  714. return data.map<StaffDetailSGReviewsReviews>((Map<String, dynamic> e) => StaffDetailSGReviewsReviews.fromJson(e)).toList() as M;
  715. }
  716. if (<StaffJobHistorySGEntity>[] is M) {
  717. return data.map<StaffJobHistorySGEntity>((Map<String, dynamic> e) => StaffJobHistorySGEntity.fromJson(e)).toList() as M;
  718. }
  719. if (<StaffJobHistorySGRows>[] is M) {
  720. return data.map<StaffJobHistorySGRows>((Map<String, dynamic> e) => StaffJobHistorySGRows.fromJson(e)).toList() as M;
  721. }
  722. if (<StaffLabourHistoryEntity>[] is M) {
  723. return data.map<StaffLabourHistoryEntity>((Map<String, dynamic> e) => StaffLabourHistoryEntity.fromJson(e)).toList() as M;
  724. }
  725. if (<StaffLabourHistoryRows>[] is M) {
  726. return data.map<StaffLabourHistoryRows>((Map<String, dynamic> e) => StaffLabourHistoryRows.fromJson(e)).toList() as M;
  727. }
  728. if (<StaffLabourHistoryRowsSecurityIn>[] is M) {
  729. return data.map<StaffLabourHistoryRowsSecurityIn>((Map<String, dynamic> e) => StaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
  730. }
  731. if (<StaffLabourHistoryRowsSecurityOut>[] is M) {
  732. return data.map<StaffLabourHistoryRowsSecurityOut>((Map<String, dynamic> e) => StaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
  733. }
  734. if (<StaffLabourHistoryRowsWorkIn>[] is M) {
  735. return data.map<StaffLabourHistoryRowsWorkIn>((Map<String, dynamic> e) => StaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M;
  736. }
  737. if (<StaffLabourHistoryRowsWorkOut>[] is M) {
  738. return data.map<StaffLabourHistoryRowsWorkOut>((Map<String, dynamic> e) => StaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
  739. }
  740. if (<StaffRemarkHistoryEntity>[] is M) {
  741. return data.map<StaffRemarkHistoryEntity>((Map<String, dynamic> e) => StaffRemarkHistoryEntity.fromJson(e)).toList() as M;
  742. }
  743. if (<StaffRemarkHistoryRows>[] is M) {
  744. return data.map<StaffRemarkHistoryRows>((Map<String, dynamic> e) => StaffRemarkHistoryRows.fromJson(e)).toList() as M;
  745. }
  746. if (<StaffReportVNEntity>[] is M) {
  747. return data.map<StaffReportVNEntity>((Map<String, dynamic> e) => StaffReportVNEntity.fromJson(e)).toList() as M;
  748. }
  749. if (<StaffRequestReportEntity>[] is M) {
  750. return data.map<StaffRequestReportEntity>((Map<String, dynamic> e) => StaffRequestReportEntity.fromJson(e)).toList() as M;
  751. }
  752. if (<StaffReviewHistorySGEntity>[] is M) {
  753. return data.map<StaffReviewHistorySGEntity>((Map<String, dynamic> e) => StaffReviewHistorySGEntity.fromJson(e)).toList() as M;
  754. }
  755. if (<StaffReviewHistorySGReviews>[] is M) {
  756. return data.map<StaffReviewHistorySGReviews>((Map<String, dynamic> e) => StaffReviewHistorySGReviews.fromJson(e)).toList() as M;
  757. }
  758. if (<SwitchProjectEntity>[] is M) {
  759. return data.map<SwitchProjectEntity>((Map<String, dynamic> e) => SwitchProjectEntity.fromJson(e)).toList() as M;
  760. }
  761. if (<SwitchProjectUserList>[] is M) {
  762. return data.map<SwitchProjectUserList>((Map<String, dynamic> e) => SwitchProjectUserList.fromJson(e)).toList() as M;
  763. }
  764. if (<THAppliedEditEntity>[] is M) {
  765. return data.map<THAppliedEditEntity>((Map<String, dynamic> e) => THAppliedEditEntity.fromJson(e)).toList() as M;
  766. }
  767. if (<THAppliedEditApplied>[] is M) {
  768. return data.map<THAppliedEditApplied>((Map<String, dynamic> e) => THAppliedEditApplied.fromJson(e)).toList() as M;
  769. }
  770. if (<THAppliedEmployeeEntity>[] is M) {
  771. return data.map<THAppliedEmployeeEntity>((Map<String, dynamic> e) => THAppliedEmployeeEntity.fromJson(e)).toList() as M;
  772. }
  773. if (<THAppliedEmployeeRows>[] is M) {
  774. return data.map<THAppliedEmployeeRows>((Map<String, dynamic> e) => THAppliedEmployeeRows.fromJson(e)).toList() as M;
  775. }
  776. if (<THAppliedIndexEntity>[] is M) {
  777. return data.map<THAppliedIndexEntity>((Map<String, dynamic> e) => THAppliedIndexEntity.fromJson(e)).toList() as M;
  778. }
  779. if (<THAppliedIndexJob>[] is M) {
  780. return data.map<THAppliedIndexJob>((Map<String, dynamic> e) => THAppliedIndexJob.fromJson(e)).toList() as M;
  781. }
  782. if (<THAppliedTableEntity>[] is M) {
  783. return data.map<THAppliedTableEntity>((Map<String, dynamic> e) => THAppliedTableEntity.fromJson(e)).toList() as M;
  784. }
  785. if (<THAppliedTableRows>[] is M) {
  786. return data.map<THAppliedTableRows>((Map<String, dynamic> e) => THAppliedTableRows.fromJson(e)).toList() as M;
  787. }
  788. if (<THAppliedTableCheckInOut>[] is M) {
  789. return data.map<THAppliedTableCheckInOut>((Map<String, dynamic> e) => THAppliedTableCheckInOut.fromJson(e)).toList() as M;
  790. }
  791. if (<THEmployeeDetailEntity>[] is M) {
  792. return data.map<THEmployeeDetailEntity>((Map<String, dynamic> e) => THEmployeeDetailEntity.fromJson(e)).toList() as M;
  793. }
  794. if (<THEmployeeDetailStaff>[] is M) {
  795. return data.map<THEmployeeDetailStaff>((Map<String, dynamic> e) => THEmployeeDetailStaff.fromJson(e)).toList() as M;
  796. }
  797. if (<THEmployeeDetailReviews>[] is M) {
  798. return data.map<THEmployeeDetailReviews>((Map<String, dynamic> e) => THEmployeeDetailReviews.fromJson(e)).toList() as M;
  799. }
  800. if (<THEmployeeRemarksEntity>[] is M) {
  801. return data.map<THEmployeeRemarksEntity>((Map<String, dynamic> e) => THEmployeeRemarksEntity.fromJson(e)).toList() as M;
  802. }
  803. if (<THEmployeeRemarksReviews>[] is M) {
  804. return data.map<THEmployeeRemarksReviews>((Map<String, dynamic> e) => THEmployeeRemarksReviews.fromJson(e)).toList() as M;
  805. }
  806. if (<THOAAttachmentEntity>[] is M) {
  807. return data.map<THOAAttachmentEntity>((Map<String, dynamic> e) => THOAAttachmentEntity.fromJson(e)).toList() as M;
  808. }
  809. if (<THOAAttachmentRows>[] is M) {
  810. return data.map<THOAAttachmentRows>((Map<String, dynamic> e) => THOAAttachmentRows.fromJson(e)).toList() as M;
  811. }
  812. if (<THOALabourDetailEntity>[] is M) {
  813. return data.map<THOALabourDetailEntity>((Map<String, dynamic> e) => THOALabourDetailEntity.fromJson(e)).toList() as M;
  814. }
  815. if (<THOALabourDetailLabourRequest>[] is M) {
  816. return data.map<THOALabourDetailLabourRequest>((Map<String, dynamic> e) => THOALabourDetailLabourRequest.fromJson(e)).toList() as M;
  817. }
  818. if (<THOALabourReviewTableEntity>[] is M) {
  819. return data.map<THOALabourReviewTableEntity>((Map<String, dynamic> e) => THOALabourReviewTableEntity.fromJson(e)).toList() as M;
  820. }
  821. if (<THOALabourReviewTableRows>[] is M) {
  822. return data.map<THOALabourReviewTableRows>((Map<String, dynamic> e) => THOALabourReviewTableRows.fromJson(e)).toList() as M;
  823. }
  824. if (<THOALabourTableEntity>[] is M) {
  825. return data.map<THOALabourTableEntity>((Map<String, dynamic> e) => THOALabourTableEntity.fromJson(e)).toList() as M;
  826. }
  827. if (<THOALabourTableRows>[] is M) {
  828. return data.map<THOALabourTableRows>((Map<String, dynamic> e) => THOALabourTableRows.fromJson(e)).toList() as M;
  829. }
  830. if (<THPreSelectedOptionEntity>[] is M) {
  831. return data.map<THPreSelectedOptionEntity>((Map<String, dynamic> e) => THPreSelectedOptionEntity.fromJson(e)).toList() as M;
  832. }
  833. if (<THPreSelectedStaffTableEntity>[] is M) {
  834. return data.map<THPreSelectedStaffTableEntity>((Map<String, dynamic> e) => THPreSelectedStaffTableEntity.fromJson(e)).toList() as M;
  835. }
  836. if (<THPreSelectedStaffTableRows>[] is M) {
  837. return data.map<THPreSelectedStaffTableRows>((Map<String, dynamic> e) => THPreSelectedStaffTableRows.fromJson(e)).toList() as M;
  838. }
  839. if (<THPreSelectedTableEntity>[] is M) {
  840. return data.map<THPreSelectedTableEntity>((Map<String, dynamic> e) => THPreSelectedTableEntity.fromJson(e)).toList() as M;
  841. }
  842. if (<THPreSelectedTableRows>[] is M) {
  843. return data.map<THPreSelectedTableRows>((Map<String, dynamic> e) => THPreSelectedTableRows.fromJson(e)).toList() as M;
  844. }
  845. if (<THUploadFileEntity>[] is M) {
  846. return data.map<THUploadFileEntity>((Map<String, dynamic> e) => THUploadFileEntity.fromJson(e)).toList() as M;
  847. }
  848. if (<UKAttendanceEntity>[] is M) {
  849. return data.map<UKAttendanceEntity>((Map<String, dynamic> e) => UKAttendanceEntity.fromJson(e)).toList() as M;
  850. }
  851. if (<UKAttendanceRows>[] is M) {
  852. return data.map<UKAttendanceRows>((Map<String, dynamic> e) => UKAttendanceRows.fromJson(e)).toList() as M;
  853. }
  854. if (<UKAttendanceInOut>[] is M) {
  855. return data.map<UKAttendanceInOut>((Map<String, dynamic> e) => UKAttendanceInOut.fromJson(e)).toList() as M;
  856. }
  857. if (<UKReportAttendanceEntity>[] is M) {
  858. return data.map<UKReportAttendanceEntity>((Map<String, dynamic> e) => UKReportAttendanceEntity.fromJson(e)).toList() as M;
  859. }
  860. if (<UKReportAttendanceRows>[] is M) {
  861. return data.map<UKReportAttendanceRows>((Map<String, dynamic> e) => UKReportAttendanceRows.fromJson(e)).toList() as M;
  862. }
  863. if (<UKReportLabourEntity>[] is M) {
  864. return data.map<UKReportLabourEntity>((Map<String, dynamic> e) => UKReportLabourEntity.fromJson(e)).toList() as M;
  865. }
  866. if (<UKReportLabourRows>[] is M) {
  867. return data.map<UKReportLabourRows>((Map<String, dynamic> e) => UKReportLabourRows.fromJson(e)).toList() as M;
  868. }
  869. if (<UKReportWorkingHoursEntity>[] is M) {
  870. return data.map<UKReportWorkingHoursEntity>((Map<String, dynamic> e) => UKReportWorkingHoursEntity.fromJson(e)).toList() as M;
  871. }
  872. if (<UKReportWorkingHoursRows>[] is M) {
  873. return data.map<UKReportWorkingHoursRows>((Map<String, dynamic> e) => UKReportWorkingHoursRows.fromJson(e)).toList() as M;
  874. }
  875. if (<UKSecurityAttendanceEntity>[] is M) {
  876. return data.map<UKSecurityAttendanceEntity>((Map<String, dynamic> e) => UKSecurityAttendanceEntity.fromJson(e)).toList() as M;
  877. }
  878. if (<UKSecurityAttendanceRows>[] is M) {
  879. return data.map<UKSecurityAttendanceRows>((Map<String, dynamic> e) => UKSecurityAttendanceRows.fromJson(e)).toList() as M;
  880. }
  881. if (<UKSecurityInOut>[] is M) {
  882. return data.map<UKSecurityInOut>((Map<String, dynamic> e) => UKSecurityInOut.fromJson(e)).toList() as M;
  883. }
  884. if (<UKSecurityAttendanceOptionEntity>[] is M) {
  885. return data.map<UKSecurityAttendanceOptionEntity>((Map<String, dynamic> e) => UKSecurityAttendanceOptionEntity.fromJson(e)).toList() as M;
  886. }
  887. if (<UKSecurityAttendanceOptionFilter>[] is M) {
  888. return data.map<UKSecurityAttendanceOptionFilter>((Map<String, dynamic> e) => UKSecurityAttendanceOptionFilter.fromJson(e)).toList() as M;
  889. }
  890. if (<UKTemplateEntity>[] is M) {
  891. return data.map<UKTemplateEntity>((Map<String, dynamic> e) => UKTemplateEntity.fromJson(e)).toList() as M;
  892. }
  893. if (<UKTemplateRows>[] is M) {
  894. return data.map<UKTemplateRows>((Map<String, dynamic> e) => UKTemplateRows.fromJson(e)).toList() as M;
  895. }
  896. if (<UkAttendanceReviewEntity>[] is M) {
  897. return data.map<UkAttendanceReviewEntity>((Map<String, dynamic> e) => UkAttendanceReviewEntity.fromJson(e)).toList() as M;
  898. }
  899. if (<UkAttendanceReviewRows>[] is M) {
  900. return data.map<UkAttendanceReviewRows>((Map<String, dynamic> e) => UkAttendanceReviewRows.fromJson(e)).toList() as M;
  901. }
  902. if (<UkAttendanceReviewRemarkEntity>[] is M) {
  903. return data.map<UkAttendanceReviewRemarkEntity>((Map<String, dynamic> e) => UkAttendanceReviewRemarkEntity.fromJson(e)).toList() as M;
  904. }
  905. if (<UkJobAppliedReviseAddDetailEntity>[] is M) {
  906. return data.map<UkJobAppliedReviseAddDetailEntity>((Map<String, dynamic> e) => UkJobAppliedReviseAddDetailEntity.fromJson(e)).toList() as M;
  907. }
  908. if (<UkJobAppliedReviseAddDetailApplied>[] is M) {
  909. return data.map<UkJobAppliedReviseAddDetailApplied>((Map<String, dynamic> e) => UkJobAppliedReviseAddDetailApplied.fromJson(e)).toList() as M;
  910. }
  911. if (<UkJobAppliedReviseEditDetailEntity>[] is M) {
  912. return data.map<UkJobAppliedReviseEditDetailEntity>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailEntity.fromJson(e)).toList() as M;
  913. }
  914. if (<UkJobAppliedReviseEditDetailApplied>[] is M) {
  915. return data.map<UkJobAppliedReviseEditDetailApplied>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailApplied.fromJson(e)).toList() as M;
  916. }
  917. if (<UkJobAppliedReviseEditDetailRevise>[] is M) {
  918. return data.map<UkJobAppliedReviseEditDetailRevise>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailRevise.fromJson(e)).toList() as M;
  919. }
  920. if (<UkJobAppliedReviseEditDetailReviseApplied>[] is M) {
  921. return data.map<UkJobAppliedReviseEditDetailReviseApplied>((Map<String, dynamic> e) => UkJobAppliedReviseEditDetailReviseApplied.fromJson(e))
  922. .toList() as M;
  923. }
  924. if (<UkJobAppliedReviseInfoEntity>[] is M) {
  925. return data.map<UkJobAppliedReviseInfoEntity>((Map<String, dynamic> e) => UkJobAppliedReviseInfoEntity.fromJson(e)).toList() as M;
  926. }
  927. if (<UkJobAppliedReviseInfoRows>[] is M) {
  928. return data.map<UkJobAppliedReviseInfoRows>((Map<String, dynamic> e) => UkJobAppliedReviseInfoRows.fromJson(e)).toList() as M;
  929. }
  930. if (<UkJobAppliedReviseLogEntity>[] is M) {
  931. return data.map<UkJobAppliedReviseLogEntity>((Map<String, dynamic> e) => UkJobAppliedReviseLogEntity.fromJson(e)).toList() as M;
  932. }
  933. if (<UkJobAppliedReviseLogRecords>[] is M) {
  934. return data.map<UkJobAppliedReviseLogRecords>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecords.fromJson(e)).toList() as M;
  935. }
  936. if (<UkJobAppliedReviseLogRecordsContent>[] is M) {
  937. return data.map<UkJobAppliedReviseLogRecordsContent>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContent.fromJson(e)).toList() as M;
  938. }
  939. if (<UkJobAppliedReviseLogRecordsContentReviseHours>[] is M) {
  940. return data.map<UkJobAppliedReviseLogRecordsContentReviseHours>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContentReviseHours.fromJson(e))
  941. .toList() as M;
  942. }
  943. if (<UkJobAppliedReviseLogRecordsContentStatus>[] is M) {
  944. return data.map<UkJobAppliedReviseLogRecordsContentStatus>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContentStatus.fromJson(e))
  945. .toList() as M;
  946. }
  947. if (<UkJobAppliedReviseLogRecordsContentReason>[] is M) {
  948. return data.map<UkJobAppliedReviseLogRecordsContentReason>((Map<String, dynamic> e) => UkJobAppliedReviseLogRecordsContentReason.fromJson(e))
  949. .toList() as M;
  950. }
  951. if (<UkJobAppliedStaffListEntity>[] is M) {
  952. return data.map<UkJobAppliedStaffListEntity>((Map<String, dynamic> e) => UkJobAppliedStaffListEntity.fromJson(e)).toList() as M;
  953. }
  954. if (<UkJobAppliedStaffListRows>[] is M) {
  955. return data.map<UkJobAppliedStaffListRows>((Map<String, dynamic> e) => UkJobAppliedStaffListRows.fromJson(e)).toList() as M;
  956. }
  957. if (<UkJobAppliedStaffListRowsSecurityIn>[] is M) {
  958. return data.map<UkJobAppliedStaffListRowsSecurityIn>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
  959. }
  960. if (<UkJobAppliedStaffListRowsSecurityOut>[] is M) {
  961. return data.map<UkJobAppliedStaffListRowsSecurityOut>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
  962. }
  963. if (<UkJobAppliedStaffListRowsWorkIn>[] is M) {
  964. return data.map<UkJobAppliedStaffListRowsWorkIn>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
  965. }
  966. if (<UkJobAppliedStaffListRowsWorkOut>[] is M) {
  967. return data.map<UkJobAppliedStaffListRowsWorkOut>((Map<String, dynamic> e) => UkJobAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
  968. }
  969. if (<UkJobListAppliedStaffSearchEntity>[] is M) {
  970. return data.map<UkJobListAppliedStaffSearchEntity>((Map<String, dynamic> e) => UkJobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
  971. }
  972. if (<UkJobListAppliedStaffSearchRows>[] is M) {
  973. return data.map<UkJobListAppliedStaffSearchRows>((Map<String, dynamic> e) => UkJobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
  974. }
  975. if (<UkJobTemplateDetailBySelectTitleEntity>[] is M) {
  976. return data.map<UkJobTemplateDetailBySelectTitleEntity>((Map<String, dynamic> e) => UkJobTemplateDetailBySelectTitleEntity.fromJson(e)).toList() as M;
  977. }
  978. if (<UkLabReqShowTemplateEntity>[] is M) {
  979. return data.map<UkLabReqShowTemplateEntity>((Map<String, dynamic> e) => UkLabReqShowTemplateEntity.fromJson(e)).toList() as M;
  980. }
  981. if (<UkLabourRequestDetailEntity>[] is M) {
  982. return data.map<UkLabourRequestDetailEntity>((Map<String, dynamic> e) => UkLabourRequestDetailEntity.fromJson(e)).toList() as M;
  983. }
  984. if (<UkLabourRequestDetailCertificateList>[] is M) {
  985. return data.map<UkLabourRequestDetailCertificateList>((Map<String, dynamic> e) => UkLabourRequestDetailCertificateList.fromJson(e)).toList() as M;
  986. }
  987. if (<UkLabourRequestDetailVehicleList>[] is M) {
  988. return data.map<UkLabourRequestDetailVehicleList>((Map<String, dynamic> e) => UkLabourRequestDetailVehicleList.fromJson(e)).toList() as M;
  989. }
  990. if (<UkLabourRequestDetailChallenge25List>[] is M) {
  991. return data.map<UkLabourRequestDetailChallenge25List>((Map<String, dynamic> e) => UkLabourRequestDetailChallenge25List.fromJson(e)).toList() as M;
  992. }
  993. if (<UkLabourRequestDetailLocationList>[] is M) {
  994. return data.map<UkLabourRequestDetailLocationList>((Map<String, dynamic> e) => UkLabourRequestDetailLocationList.fromJson(e)).toList() as M;
  995. }
  996. if (<UkLabourRequestDetailTemplateList>[] is M) {
  997. return data.map<UkLabourRequestDetailTemplateList>((Map<String, dynamic> e) => UkLabourRequestDetailTemplateList.fromJson(e)).toList() as M;
  998. }
  999. if (<UkLabourRequestDetailDepartmentList>[] is M) {
  1000. return data.map<UkLabourRequestDetailDepartmentList>((Map<String, dynamic> e) => UkLabourRequestDetailDepartmentList.fromJson(e)).toList() as M;
  1001. }
  1002. if (<UkLabourRequestDetailChargeList>[] is M) {
  1003. return data.map<UkLabourRequestDetailChargeList>((Map<String, dynamic> e) => UkLabourRequestDetailChargeList.fromJson(e)).toList() as M;
  1004. }
  1005. if (<UkLabourRequestDetailEmploymentList>[] is M) {
  1006. return data.map<UkLabourRequestDetailEmploymentList>((Map<String, dynamic> e) => UkLabourRequestDetailEmploymentList.fromJson(e)).toList() as M;
  1007. }
  1008. if (<UkLabourRequestPreselectAddstatffListEntity>[] is M) {
  1009. return data.map<UkLabourRequestPreselectAddstatffListEntity>((Map<String, dynamic> e) => UkLabourRequestPreselectAddstatffListEntity.fromJson(e))
  1010. .toList() as M;
  1011. }
  1012. if (<UkLabourRequestPreselectAddstatffListRows>[] is M) {
  1013. return data.map<UkLabourRequestPreselectAddstatffListRows>((Map<String, dynamic> e) => UkLabourRequestPreselectAddstatffListRows.fromJson(e))
  1014. .toList() as M;
  1015. }
  1016. if (<UkLabourRequestPreselectedListEntity>[] is M) {
  1017. return data.map<UkLabourRequestPreselectedListEntity>((Map<String, dynamic> e) => UkLabourRequestPreselectedListEntity.fromJson(e)).toList() as M;
  1018. }
  1019. if (<UkLabourRequestPreselectedListRows>[] is M) {
  1020. return data.map<UkLabourRequestPreselectedListRows>((Map<String, dynamic> e) => UkLabourRequestPreselectedListRows.fromJson(e)).toList() as M;
  1021. }
  1022. if (<UkLabourRequestReviewDetailEntity>[] is M) {
  1023. return data.map<UkLabourRequestReviewDetailEntity>((Map<String, dynamic> e) => UkLabourRequestReviewDetailEntity.fromJson(e)).toList() as M;
  1024. }
  1025. if (<UkLabourRequestReviewDetailOrder>[] is M) {
  1026. return data.map<UkLabourRequestReviewDetailOrder>((Map<String, dynamic> e) => UkLabourRequestReviewDetailOrder.fromJson(e)).toList() as M;
  1027. }
  1028. if (<UkLabourRequestReviewDetailOrderRequest>[] is M) {
  1029. return data.map<UkLabourRequestReviewDetailOrderRequest>((Map<String, dynamic> e) => UkLabourRequestReviewDetailOrderRequest.fromJson(e)).toList() as M;
  1030. }
  1031. if (<UkLabourRequestReviewDetailOrderRecords>[] is M) {
  1032. return data.map<UkLabourRequestReviewDetailOrderRecords>((Map<String, dynamic> e) => UkLabourRequestReviewDetailOrderRecords.fromJson(e)).toList() as M;
  1033. }
  1034. if (<UkLabourRequestReviewDetailRecords>[] is M) {
  1035. return data.map<UkLabourRequestReviewDetailRecords>((Map<String, dynamic> e) => UkLabourRequestReviewDetailRecords.fromJson(e)).toList() as M;
  1036. }
  1037. if (<UkLabourRequestReviewListEntity>[] is M) {
  1038. return data.map<UkLabourRequestReviewListEntity>((Map<String, dynamic> e) => UkLabourRequestReviewListEntity.fromJson(e)).toList() as M;
  1039. }
  1040. if (<UkLabourRequestReviewListRows>[] is M) {
  1041. return data.map<UkLabourRequestReviewListRows>((Map<String, dynamic> e) => UkLabourRequestReviewListRows.fromJson(e)).toList() as M;
  1042. }
  1043. if (<UkLabourRequestTableEntity>[] is M) {
  1044. return data.map<UkLabourRequestTableEntity>((Map<String, dynamic> e) => UkLabourRequestTableEntity.fromJson(e)).toList() as M;
  1045. }
  1046. if (<UkLabourRequestTableRows>[] is M) {
  1047. return data.map<UkLabourRequestTableRows>((Map<String, dynamic> e) => UkLabourRequestTableRows.fromJson(e)).toList() as M;
  1048. }
  1049. if (<UkLabourReviewStatusEntity>[] is M) {
  1050. return data.map<UkLabourReviewStatusEntity>((Map<String, dynamic> e) => UkLabourReviewStatusEntity.fromJson(e)).toList() as M;
  1051. }
  1052. if (<UkLabourReviewStatusRow>[] is M) {
  1053. return data.map<UkLabourReviewStatusRow>((Map<String, dynamic> e) => UkLabourReviewStatusRow.fromJson(e)).toList() as M;
  1054. }
  1055. if (<UkLabourReviewStatusRecords>[] is M) {
  1056. return data.map<UkLabourReviewStatusRecords>((Map<String, dynamic> e) => UkLabourReviewStatusRecords.fromJson(e)).toList() as M;
  1057. }
  1058. if (<UkReportCasualEntity>[] is M) {
  1059. return data.map<UkReportCasualEntity>((Map<String, dynamic> e) => UkReportCasualEntity.fromJson(e)).toList() as M;
  1060. }
  1061. if (<UkReportCasualRows>[] is M) {
  1062. return data.map<UkReportCasualRows>((Map<String, dynamic> e) => UkReportCasualRows.fromJson(e)).toList() as M;
  1063. }
  1064. if (<UkReportCasualTotal>[] is M) {
  1065. return data.map<UkReportCasualTotal>((Map<String, dynamic> e) => UkReportCasualTotal.fromJson(e)).toList() as M;
  1066. }
  1067. if (<UkReportCasualPayEntity>[] is M) {
  1068. return data.map<UkReportCasualPayEntity>((Map<String, dynamic> e) => UkReportCasualPayEntity.fromJson(e)).toList() as M;
  1069. }
  1070. if (<UkReportCasualPayRows>[] is M) {
  1071. return data.map<UkReportCasualPayRows>((Map<String, dynamic> e) => UkReportCasualPayRows.fromJson(e)).toList() as M;
  1072. }
  1073. if (<UkReportCasualPayTotal>[] is M) {
  1074. return data.map<UkReportCasualPayTotal>((Map<String, dynamic> e) => UkReportCasualPayTotal.fromJson(e)).toList() as M;
  1075. }
  1076. if (<UkReportOutletEntity>[] is M) {
  1077. return data.map<UkReportOutletEntity>((Map<String, dynamic> e) => UkReportOutletEntity.fromJson(e)).toList() as M;
  1078. }
  1079. if (<UkReportOutletRequestList>[] is M) {
  1080. return data.map<UkReportOutletRequestList>((Map<String, dynamic> e) => UkReportOutletRequestList.fromJson(e)).toList() as M;
  1081. }
  1082. if (<UkStaffDetailEntity>[] is M) {
  1083. return data.map<UkStaffDetailEntity>((Map<String, dynamic> e) => UkStaffDetailEntity.fromJson(e)).toList() as M;
  1084. }
  1085. if (<UkStaffDetailCertificates>[] is M) {
  1086. return data.map<UkStaffDetailCertificates>((Map<String, dynamic> e) => UkStaffDetailCertificates.fromJson(e)).toList() as M;
  1087. }
  1088. if (<UkStaffLabourHistoryEntity>[] is M) {
  1089. return data.map<UkStaffLabourHistoryEntity>((Map<String, dynamic> e) => UkStaffLabourHistoryEntity.fromJson(e)).toList() as M;
  1090. }
  1091. if (<UkStaffLabourHistoryRows>[] is M) {
  1092. return data.map<UkStaffLabourHistoryRows>((Map<String, dynamic> e) => UkStaffLabourHistoryRows.fromJson(e)).toList() as M;
  1093. }
  1094. if (<UkStaffLabourHistoryRowsSecurityIn>[] is M) {
  1095. return data.map<UkStaffLabourHistoryRowsSecurityIn>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
  1096. }
  1097. if (<UkStaffLabourHistoryRowsSecurityOut>[] is M) {
  1098. return data.map<UkStaffLabourHistoryRowsSecurityOut>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
  1099. }
  1100. if (<UkStaffLabourHistoryRowsWorkIn>[] is M) {
  1101. return data.map<UkStaffLabourHistoryRowsWorkIn>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M;
  1102. }
  1103. if (<UkStaffLabourHistoryRowsWorkOut>[] is M) {
  1104. return data.map<UkStaffLabourHistoryRowsWorkOut>((Map<String, dynamic> e) => UkStaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
  1105. }
  1106. if (<UkTemplateDetailEntity>[] is M) {
  1107. return data.map<UkTemplateDetailEntity>((Map<String, dynamic> e) => UkTemplateDetailEntity.fromJson(e)).toList() as M;
  1108. }
  1109. if (<UkTemplateDetailRow>[] is M) {
  1110. return data.map<UkTemplateDetailRow>((Map<String, dynamic> e) => UkTemplateDetailRow.fromJson(e)).toList() as M;
  1111. }
  1112. if (<UkTemplateDetailTitleList>[] is M) {
  1113. return data.map<UkTemplateDetailTitleList>((Map<String, dynamic> e) => UkTemplateDetailTitleList.fromJson(e)).toList() as M;
  1114. }
  1115. if (<UkTemplateDetailCertificateList>[] is M) {
  1116. return data.map<UkTemplateDetailCertificateList>((Map<String, dynamic> e) => UkTemplateDetailCertificateList.fromJson(e)).toList() as M;
  1117. }
  1118. if (<UkTemplateDetailVehicleList>[] is M) {
  1119. return data.map<UkTemplateDetailVehicleList>((Map<String, dynamic> e) => UkTemplateDetailVehicleList.fromJson(e)).toList() as M;
  1120. }
  1121. if (<UkTemplateDetailIndexEntity>[] is M) {
  1122. return data.map<UkTemplateDetailIndexEntity>((Map<String, dynamic> e) => UkTemplateDetailIndexEntity.fromJson(e)).toList() as M;
  1123. }
  1124. if (<UkTemplateDetailIndexCertificateList>[] is M) {
  1125. return data.map<UkTemplateDetailIndexCertificateList>((Map<String, dynamic> e) => UkTemplateDetailIndexCertificateList.fromJson(e)).toList() as M;
  1126. }
  1127. if (<UkTemplateDetailIndexVehicleList>[] is M) {
  1128. return data.map<UkTemplateDetailIndexVehicleList>((Map<String, dynamic> e) => UkTemplateDetailIndexVehicleList.fromJson(e)).toList() as M;
  1129. }
  1130. if (<UkTemplateTitleOptionEntity>[] is M) {
  1131. return data.map<UkTemplateTitleOptionEntity>((Map<String, dynamic> e) => UkTemplateTitleOptionEntity.fromJson(e)).toList() as M;
  1132. }
  1133. if (<ServerTime>[] is M) {
  1134. return data.map<ServerTime>((Map<String, dynamic> e) => ServerTime.fromJson(e)).toList() as M;
  1135. }
  1136. debugPrint("$M not found");
  1137. return null;
  1138. }
  1139. static M? fromJsonAsT<M>(dynamic json) {
  1140. if (json is M) {
  1141. return json;
  1142. }
  1143. if (json is List) {
  1144. return _getListChildType<M>(json.map((dynamic e) => e as Map<String, dynamic>).toList());
  1145. } else {
  1146. return jsonConvert.convert<M>(json);
  1147. }
  1148. }
  1149. }
  1150. class JsonConvertClassCollection {
  1151. Map<String, JsonConvertFunction> convertFuncMap = {
  1152. (AddEditReviseViewSGEntity).toString(): AddEditReviseViewSGEntity.fromJson,
  1153. (AgencyDetailEntity).toString(): AgencyDetailEntity.fromJson,
  1154. (AgencyDetailPivot).toString(): AgencyDetailPivot.fromJson,
  1155. (AgencyOptionEntity).toString(): AgencyOptionEntity.fromJson,
  1156. (AgencyTableEntity).toString(): AgencyTableEntity.fromJson,
  1157. (AgencyTableRows).toString(): AgencyTableRows.fromJson,
  1158. (AttendanceEntity).toString(): AttendanceEntity.fromJson,
  1159. (AttendanceList).toString(): AttendanceList.fromJson,
  1160. (AttendanceReviewEntity).toString(): AttendanceReviewEntity.fromJson,
  1161. (AttendanceReviewRows).toString(): AttendanceReviewRows.fromJson,
  1162. (CheckSuccessEntity).toString(): CheckSuccessEntity.fromJson,
  1163. (ContractDetailEntity).toString(): ContractDetailEntity.fromJson,
  1164. (ContractDetailRow).toString(): ContractDetailRow.fromJson,
  1165. (ContractOptionEntity).toString(): ContractOptionEntity.fromJson,
  1166. (ContractPositionAddOptionEntity).toString(): ContractPositionAddOptionEntity.fromJson,
  1167. (ContractPositionOptionEntity).toString(): ContractPositionOptionEntity.fromJson,
  1168. (ContractPositionRateDetailEntity).toString(): ContractPositionRateDetailEntity.fromJson,
  1169. (ContractPositionRateSpecificOptionEntity).toString(): ContractPositionRateSpecificOptionEntity.fromJson,
  1170. (ContractPositionRateTableEntity).toString(): ContractPositionRateTableEntity.fromJson,
  1171. (ContractPositionRateTableRows).toString(): ContractPositionRateTableRows.fromJson,
  1172. (ContractPositionTableEntity).toString(): ContractPositionTableEntity.fromJson,
  1173. (ContractPositionTableRows).toString(): ContractPositionTableRows.fromJson,
  1174. (ContractTableEntity).toString(): ContractTableEntity.fromJson,
  1175. (ContractTableRows).toString(): ContractTableRows.fromJson,
  1176. (DeviceListEntity).toString(): DeviceListEntity.fromJson,
  1177. (DeviceListRows).toString(): DeviceListRows.fromJson,
  1178. (FianceReportEntity).toString(): FianceReportEntity.fromJson,
  1179. (FianceReportRateList).toString(): FianceReportRateList.fromJson,
  1180. (HotelInfoEntity).toString(): HotelInfoEntity.fromJson,
  1181. (HotelInfoMenus).toString(): HotelInfoMenus.fromJson,
  1182. (HotelInfoMenusChildren).toString(): HotelInfoMenusChildren.fromJson,
  1183. (IdNameEntity).toString(): IdNameEntity.fromJson,
  1184. (IndexOptionEntity).toString(): IndexOptionEntity.fromJson,
  1185. (JobAppliedEditIndexSGEntity).toString(): JobAppliedEditIndexSGEntity.fromJson,
  1186. (JobAppliedEditIndexSGStatusList).toString(): JobAppliedEditIndexSGStatusList.fromJson,
  1187. (JobAppliedIndexSGEntity).toString(): JobAppliedIndexSGEntity.fromJson,
  1188. (JobAppliedIndexSGStatusList).toString(): JobAppliedIndexSGStatusList.fromJson,
  1189. (JobAppliedListSGEntity).toString(): JobAppliedListSGEntity.fromJson,
  1190. (JobAppliedListSGRows).toString(): JobAppliedListSGRows.fromJson,
  1191. (JobAppliedListSGRowsCheck).toString(): JobAppliedListSGRowsCheck.fromJson,
  1192. (JobAppliedListSGRowsStatusList).toString(): JobAppliedListSGRowsStatusList.fromJson,
  1193. (JobAppliedRemarkViewSGEntity).toString(): JobAppliedRemarkViewSGEntity.fromJson,
  1194. (JobAppliedStaffSGEntity).toString(): JobAppliedStaffSGEntity.fromJson,
  1195. (JobAppliedStaffSGRows).toString(): JobAppliedStaffSGRows.fromJson,
  1196. (JobListAddStaffEntity).toString(): JobListAddStaffEntity.fromJson,
  1197. (JobListAddStaffResultList).toString(): JobListAddStaffResultList.fromJson,
  1198. (JobListAppliedEditEntity).toString(): JobListAppliedEditEntity.fromJson,
  1199. (JobListAppliedEditReasonList).toString(): JobListAppliedEditReasonList.fromJson,
  1200. (JobListAppliedInfoEntity).toString(): JobListAppliedInfoEntity.fromJson,
  1201. (JobListAppliedStaffListEntity).toString(): JobListAppliedStaffListEntity.fromJson,
  1202. (JobListAppliedStaffListRows).toString(): JobListAppliedStaffListRows.fromJson,
  1203. (JobListAppliedStaffListRowsSecurityIn).toString(): JobListAppliedStaffListRowsSecurityIn.fromJson,
  1204. (JobListAppliedStaffListRowsSecurityOut).toString(): JobListAppliedStaffListRowsSecurityOut.fromJson,
  1205. (JobListAppliedStaffListRowsWorkIn).toString(): JobListAppliedStaffListRowsWorkIn.fromJson,
  1206. (JobListAppliedStaffListRowsWorkOut).toString(): JobListAppliedStaffListRowsWorkOut.fromJson,
  1207. (JobListAppliedStaffSearchEntity).toString(): JobListAppliedStaffSearchEntity.fromJson,
  1208. (JobListAppliedStaffSearchRows).toString(): JobListAppliedStaffSearchRows.fromJson,
  1209. (JobListAppliedWorkFlowEntity).toString(): JobListAppliedWorkFlowEntity.fromJson,
  1210. (JobListAppliedWorkFlowRecords).toString(): JobListAppliedWorkFlowRecords.fromJson,
  1211. (JobListDetailEntity).toString(): JobListDetailEntity.fromJson,
  1212. (JobListDetailDepartmentList).toString(): JobListDetailDepartmentList.fromJson,
  1213. (JobListERDetailEntity).toString(): JobListERDetailEntity.fromJson,
  1214. (JobListERDetailJob).toString(): JobListERDetailJob.fromJson,
  1215. (JobListEROptionEntity).toString(): JobListEROptionEntity.fromJson,
  1216. (JobListEROptionFilter).toString(): JobListEROptionFilter.fromJson,
  1217. (JobListEditIndexSGEntity).toString(): JobListEditIndexSGEntity.fromJson,
  1218. (JobListEditIndexOption).toString(): JobListEditIndexOption.fromJson,
  1219. (JobListEntity).toString(): JobListEntity.fromJson,
  1220. (JobListRows).toString(): JobListRows.fromJson,
  1221. (JobListIndexEntity).toString(): JobListIndexEntity.fromJson,
  1222. (JobListIndexDepartmentList).toString(): JobListIndexDepartmentList.fromJson,
  1223. (JobListIndexStatusList).toString(): JobListIndexStatusList.fromJson,
  1224. (JobListIndexSGEntity).toString(): JobListIndexSGEntity.fromJson,
  1225. (JobListIndexSGOption).toString(): JobListIndexSGOption.fromJson,
  1226. (JobListRemarkViewEntity).toString(): JobListRemarkViewEntity.fromJson,
  1227. (JobListSGEntity).toString(): JobListSGEntity.fromJson,
  1228. (JobListSGRows).toString(): JobListSGRows.fromJson,
  1229. (JobTemplateEditIndexEntity).toString(): JobTemplateEditIndexEntity.fromJson,
  1230. (JobTemplateEditIndexAgeList).toString(): JobTemplateEditIndexAgeList.fromJson,
  1231. (JobTemplateEditIndexSexList).toString(): JobTemplateEditIndexSexList.fromJson,
  1232. (JobTemplateEditIndexLanguageList).toString(): JobTemplateEditIndexLanguageList.fromJson,
  1233. (JobTemplateSGEntity).toString(): JobTemplateSGEntity.fromJson,
  1234. (JobTemplateSGRows).toString(): JobTemplateSGRows.fromJson,
  1235. (JobTitleEditIndexEntity).toString(): JobTitleEditIndexEntity.fromJson,
  1236. (JobTitleEditIndexTemplate).toString(): JobTitleEditIndexTemplate.fromJson,
  1237. (JobTitleSGEntity).toString(): JobTitleSGEntity.fromJson,
  1238. (JobTitleSGRows).toString(): JobTitleSGRows.fromJson,
  1239. (LabourListEREntity).toString(): LabourListEREntity.fromJson,
  1240. (LabourListERRows).toString(): LabourListERRows.fromJson,
  1241. (LabourReportEntity).toString(): LabourReportEntity.fromJson,
  1242. (LabourReportRows).toString(): LabourReportRows.fromJson,
  1243. (LabourReportTotal).toString(): LabourReportTotal.fromJson,
  1244. (LabourReportVNEntity).toString(): LabourReportVNEntity.fromJson,
  1245. (LabourReportVNRows).toString(): LabourReportVNRows.fromJson,
  1246. (LabourReportVNTotal).toString(): LabourReportVNTotal.fromJson,
  1247. (LabourRequestEREntity).toString(): LabourRequestEREntity.fromJson,
  1248. (LabourRequestERCountList).toString(): LabourRequestERCountList.fromJson,
  1249. (LabourRequestERSourceList).toString(): LabourRequestERSourceList.fromJson,
  1250. (LabourRequestERSourceListRequestList).toString(): LabourRequestERSourceListRequestList.fromJson,
  1251. (LabourRequestEROptionEntity).toString(): LabourRequestEROptionEntity.fromJson,
  1252. (LabourRequestEditIndexEntity).toString(): LabourRequestEditIndexEntity.fromJson,
  1253. (LabourRequestEditIndexTemplateList).toString(): LabourRequestEditIndexTemplateList.fromJson,
  1254. (LabourRequestEditIndexDepartmentList).toString(): LabourRequestEditIndexDepartmentList.fromJson,
  1255. (LabourRequestIndexEntity).toString(): LabourRequestIndexEntity.fromJson,
  1256. (LabourRequestIndexDepartmentList).toString(): LabourRequestIndexDepartmentList.fromJson,
  1257. (LabourRequestIndexStatusList).toString(): LabourRequestIndexStatusList.fromJson,
  1258. (LabourRequestListEntity).toString(): LabourRequestListEntity.fromJson,
  1259. (LabourRequestListRows).toString(): LabourRequestListRows.fromJson,
  1260. (LabourRequestWorkFlowEntity).toString(): LabourRequestWorkFlowEntity.fromJson,
  1261. (LabourRequestWorkFlowRecords).toString(): LabourRequestWorkFlowRecords.fromJson,
  1262. (LabourReviewListEntity).toString(): LabourReviewListEntity.fromJson,
  1263. (LabourReviewListRows).toString(): LabourReviewListRows.fromJson,
  1264. (LabourReviewStatusEntity).toString(): LabourReviewStatusEntity.fromJson,
  1265. (LabourReviewStatusRecords).toString(): LabourReviewStatusRecords.fromJson,
  1266. (PositionTableEntity).toString(): PositionTableEntity.fromJson,
  1267. (PositionTableRows).toString(): PositionTableRows.fromJson,
  1268. (ReviseIndexSGEntity).toString(): ReviseIndexSGEntity.fromJson,
  1269. (ReviseIndexSGStatusList).toString(): ReviseIndexSGStatusList.fromJson,
  1270. (ReviseListSGEntity).toString(): ReviseListSGEntity.fromJson,
  1271. (ReviseListSGRows).toString(): ReviseListSGRows.fromJson,
  1272. (ReviseLogSGEntity).toString(): ReviseLogSGEntity.fromJson,
  1273. (ReviseLogSGRecords).toString(): ReviseLogSGRecords.fromJson,
  1274. (ReviseLogSGRecordsContent).toString(): ReviseLogSGRecordsContent.fromJson,
  1275. (ReviseLogSGRecordsOption).toString(): ReviseLogSGRecordsOption.fromJson,
  1276. (SGAttendanceReviewOptionEntity).toString(): SGAttendanceReviewOptionEntity.fromJson,
  1277. (SGAttendanceReviewTableEntity).toString(): SGAttendanceReviewTableEntity.fromJson,
  1278. (SGAttendanceReviewTableRows).toString(): SGAttendanceReviewTableRows.fromJson,
  1279. (SGAttendanceReviewTableRowsCheck).toString(): SGAttendanceReviewTableRowsCheck.fromJson,
  1280. (SGAttendanceReviewWorkflowEntity).toString(): SGAttendanceReviewWorkflowEntity.fromJson,
  1281. (SGAttendanceReviewWorkflowRow).toString(): SGAttendanceReviewWorkflowRow.fromJson,
  1282. (SGAttendanceReviewWorkflowRecords).toString(): SGAttendanceReviewWorkflowRecords.fromJson,
  1283. (SGDashboardEntity).toString(): SGDashboardEntity.fromJson,
  1284. (SGDashboardAgencyList).toString(): SGDashboardAgencyList.fromJson,
  1285. (SGDashboardAgencyListDays).toString(): SGDashboardAgencyListDays.fromJson,
  1286. (SGLabourRequestAddOptionEntity).toString(): SGLabourRequestAddOptionEntity.fromJson,
  1287. (LabourRequestAgencyEntity).toString(): LabourRequestAgencyEntity.fromJson,
  1288. (SGLabourRequestDetailEntity).toString(): SGLabourRequestDetailEntity.fromJson,
  1289. (SGLabourRequestDetailLabReq).toString(): SGLabourRequestDetailLabReq.fromJson,
  1290. (SGLabourRequestOptionEntity).toString(): SGLabourRequestOptionEntity.fromJson,
  1291. (SGLabourRequestTableEntity).toString(): SGLabourRequestTableEntity.fromJson,
  1292. (SGLabourRequestTableRows).toString(): SGLabourRequestTableRows.fromJson,
  1293. (SGLabourRequestWorlFlowEntity).toString(): SGLabourRequestWorlFlowEntity.fromJson,
  1294. (SGLabourRequestWorlFlowRow).toString(): SGLabourRequestWorlFlowRow.fromJson,
  1295. (SGLabourRequestWorlFlowRecords).toString(): SGLabourRequestWorlFlowRecords.fromJson,
  1296. (SGLabourReviewOptionEntity).toString(): SGLabourReviewOptionEntity.fromJson,
  1297. (SGLabourReviewTableEntity).toString(): SGLabourReviewTableEntity.fromJson,
  1298. (SGLabourReviewTableRows).toString(): SGLabourReviewTableRows.fromJson,
  1299. (SignInSignOutEntity).toString(): SignInSignOutEntity.fromJson,
  1300. (SignInSignOutRows).toString(): SignInSignOutRows.fromJson,
  1301. (StaffDetailEntity).toString(): StaffDetailEntity.fromJson,
  1302. (StaffDetailSGEntity).toString(): StaffDetailSGEntity.fromJson,
  1303. (StaffDetailSGReviews).toString(): StaffDetailSGReviews.fromJson,
  1304. (StaffDetailSGReviewsReviews).toString(): StaffDetailSGReviewsReviews.fromJson,
  1305. (StaffJobHistorySGEntity).toString(): StaffJobHistorySGEntity.fromJson,
  1306. (StaffJobHistorySGRows).toString(): StaffJobHistorySGRows.fromJson,
  1307. (StaffLabourHistoryEntity).toString(): StaffLabourHistoryEntity.fromJson,
  1308. (StaffLabourHistoryRows).toString(): StaffLabourHistoryRows.fromJson,
  1309. (StaffLabourHistoryRowsSecurityIn).toString(): StaffLabourHistoryRowsSecurityIn.fromJson,
  1310. (StaffLabourHistoryRowsSecurityOut).toString(): StaffLabourHistoryRowsSecurityOut.fromJson,
  1311. (StaffLabourHistoryRowsWorkIn).toString(): StaffLabourHistoryRowsWorkIn.fromJson,
  1312. (StaffLabourHistoryRowsWorkOut).toString(): StaffLabourHistoryRowsWorkOut.fromJson,
  1313. (StaffRemarkHistoryEntity).toString(): StaffRemarkHistoryEntity.fromJson,
  1314. (StaffRemarkHistoryRows).toString(): StaffRemarkHistoryRows.fromJson,
  1315. (StaffReportVNEntity).toString(): StaffReportVNEntity.fromJson,
  1316. (StaffRequestReportEntity).toString(): StaffRequestReportEntity.fromJson,
  1317. (StaffReviewHistorySGEntity).toString(): StaffReviewHistorySGEntity.fromJson,
  1318. (StaffReviewHistorySGReviews).toString(): StaffReviewHistorySGReviews.fromJson,
  1319. (SwitchProjectEntity).toString(): SwitchProjectEntity.fromJson,
  1320. (SwitchProjectUserList).toString(): SwitchProjectUserList.fromJson,
  1321. (THAppliedEditEntity).toString(): THAppliedEditEntity.fromJson,
  1322. (THAppliedEditApplied).toString(): THAppliedEditApplied.fromJson,
  1323. (THAppliedEmployeeEntity).toString(): THAppliedEmployeeEntity.fromJson,
  1324. (THAppliedEmployeeRows).toString(): THAppliedEmployeeRows.fromJson,
  1325. (THAppliedIndexEntity).toString(): THAppliedIndexEntity.fromJson,
  1326. (THAppliedIndexJob).toString(): THAppliedIndexJob.fromJson,
  1327. (THAppliedTableEntity).toString(): THAppliedTableEntity.fromJson,
  1328. (THAppliedTableRows).toString(): THAppliedTableRows.fromJson,
  1329. (THAppliedTableCheckInOut).toString(): THAppliedTableCheckInOut.fromJson,
  1330. (THEmployeeDetailEntity).toString(): THEmployeeDetailEntity.fromJson,
  1331. (THEmployeeDetailStaff).toString(): THEmployeeDetailStaff.fromJson,
  1332. (THEmployeeDetailReviews).toString(): THEmployeeDetailReviews.fromJson,
  1333. (THEmployeeRemarksEntity).toString(): THEmployeeRemarksEntity.fromJson,
  1334. (THEmployeeRemarksReviews).toString(): THEmployeeRemarksReviews.fromJson,
  1335. (THOAAttachmentEntity).toString(): THOAAttachmentEntity.fromJson,
  1336. (THOAAttachmentRows).toString(): THOAAttachmentRows.fromJson,
  1337. (THOALabourDetailEntity).toString(): THOALabourDetailEntity.fromJson,
  1338. (THOALabourDetailLabourRequest).toString(): THOALabourDetailLabourRequest.fromJson,
  1339. (THOALabourReviewTableEntity).toString(): THOALabourReviewTableEntity.fromJson,
  1340. (THOALabourReviewTableRows).toString(): THOALabourReviewTableRows.fromJson,
  1341. (THOALabourTableEntity).toString(): THOALabourTableEntity.fromJson,
  1342. (THOALabourTableRows).toString(): THOALabourTableRows.fromJson,
  1343. (THPreSelectedOptionEntity).toString(): THPreSelectedOptionEntity.fromJson,
  1344. (THPreSelectedStaffTableEntity).toString(): THPreSelectedStaffTableEntity.fromJson,
  1345. (THPreSelectedStaffTableRows).toString(): THPreSelectedStaffTableRows.fromJson,
  1346. (THPreSelectedTableEntity).toString(): THPreSelectedTableEntity.fromJson,
  1347. (THPreSelectedTableRows).toString(): THPreSelectedTableRows.fromJson,
  1348. (THUploadFileEntity).toString(): THUploadFileEntity.fromJson,
  1349. (UKAttendanceEntity).toString(): UKAttendanceEntity.fromJson,
  1350. (UKAttendanceRows).toString(): UKAttendanceRows.fromJson,
  1351. (UKAttendanceInOut).toString(): UKAttendanceInOut.fromJson,
  1352. (UKReportAttendanceEntity).toString(): UKReportAttendanceEntity.fromJson,
  1353. (UKReportAttendanceRows).toString(): UKReportAttendanceRows.fromJson,
  1354. (UKReportLabourEntity).toString(): UKReportLabourEntity.fromJson,
  1355. (UKReportLabourRows).toString(): UKReportLabourRows.fromJson,
  1356. (UKReportWorkingHoursEntity).toString(): UKReportWorkingHoursEntity.fromJson,
  1357. (UKReportWorkingHoursRows).toString(): UKReportWorkingHoursRows.fromJson,
  1358. (UKSecurityAttendanceEntity).toString(): UKSecurityAttendanceEntity.fromJson,
  1359. (UKSecurityAttendanceRows).toString(): UKSecurityAttendanceRows.fromJson,
  1360. (UKSecurityInOut).toString(): UKSecurityInOut.fromJson,
  1361. (UKSecurityAttendanceOptionEntity).toString(): UKSecurityAttendanceOptionEntity.fromJson,
  1362. (UKSecurityAttendanceOptionFilter).toString(): UKSecurityAttendanceOptionFilter.fromJson,
  1363. (UKTemplateEntity).toString(): UKTemplateEntity.fromJson,
  1364. (UKTemplateRows).toString(): UKTemplateRows.fromJson,
  1365. (UkAttendanceReviewEntity).toString(): UkAttendanceReviewEntity.fromJson,
  1366. (UkAttendanceReviewRows).toString(): UkAttendanceReviewRows.fromJson,
  1367. (UkAttendanceReviewRemarkEntity).toString(): UkAttendanceReviewRemarkEntity.fromJson,
  1368. (UkJobAppliedReviseAddDetailEntity).toString(): UkJobAppliedReviseAddDetailEntity.fromJson,
  1369. (UkJobAppliedReviseAddDetailApplied).toString(): UkJobAppliedReviseAddDetailApplied.fromJson,
  1370. (UkJobAppliedReviseEditDetailEntity).toString(): UkJobAppliedReviseEditDetailEntity.fromJson,
  1371. (UkJobAppliedReviseEditDetailApplied).toString(): UkJobAppliedReviseEditDetailApplied.fromJson,
  1372. (UkJobAppliedReviseEditDetailRevise).toString(): UkJobAppliedReviseEditDetailRevise.fromJson,
  1373. (UkJobAppliedReviseEditDetailReviseApplied).toString(): UkJobAppliedReviseEditDetailReviseApplied.fromJson,
  1374. (UkJobAppliedReviseInfoEntity).toString(): UkJobAppliedReviseInfoEntity.fromJson,
  1375. (UkJobAppliedReviseInfoRows).toString(): UkJobAppliedReviseInfoRows.fromJson,
  1376. (UkJobAppliedReviseLogEntity).toString(): UkJobAppliedReviseLogEntity.fromJson,
  1377. (UkJobAppliedReviseLogRecords).toString(): UkJobAppliedReviseLogRecords.fromJson,
  1378. (UkJobAppliedReviseLogRecordsContent).toString(): UkJobAppliedReviseLogRecordsContent.fromJson,
  1379. (UkJobAppliedReviseLogRecordsContentReviseHours).toString(): UkJobAppliedReviseLogRecordsContentReviseHours.fromJson,
  1380. (UkJobAppliedReviseLogRecordsContentStatus).toString(): UkJobAppliedReviseLogRecordsContentStatus.fromJson,
  1381. (UkJobAppliedReviseLogRecordsContentReason).toString(): UkJobAppliedReviseLogRecordsContentReason.fromJson,
  1382. (UkJobAppliedStaffListEntity).toString(): UkJobAppliedStaffListEntity.fromJson,
  1383. (UkJobAppliedStaffListRows).toString(): UkJobAppliedStaffListRows.fromJson,
  1384. (UkJobAppliedStaffListRowsSecurityIn).toString(): UkJobAppliedStaffListRowsSecurityIn.fromJson,
  1385. (UkJobAppliedStaffListRowsSecurityOut).toString(): UkJobAppliedStaffListRowsSecurityOut.fromJson,
  1386. (UkJobAppliedStaffListRowsWorkIn).toString(): UkJobAppliedStaffListRowsWorkIn.fromJson,
  1387. (UkJobAppliedStaffListRowsWorkOut).toString(): UkJobAppliedStaffListRowsWorkOut.fromJson,
  1388. (UkJobListAppliedStaffSearchEntity).toString(): UkJobListAppliedStaffSearchEntity.fromJson,
  1389. (UkJobListAppliedStaffSearchRows).toString(): UkJobListAppliedStaffSearchRows.fromJson,
  1390. (UkJobTemplateDetailBySelectTitleEntity).toString(): UkJobTemplateDetailBySelectTitleEntity.fromJson,
  1391. (UkLabReqShowTemplateEntity).toString(): UkLabReqShowTemplateEntity.fromJson,
  1392. (UkLabourRequestDetailEntity).toString(): UkLabourRequestDetailEntity.fromJson,
  1393. (UkLabourRequestDetailCertificateList).toString(): UkLabourRequestDetailCertificateList.fromJson,
  1394. (UkLabourRequestDetailVehicleList).toString(): UkLabourRequestDetailVehicleList.fromJson,
  1395. (UkLabourRequestDetailChallenge25List).toString(): UkLabourRequestDetailChallenge25List.fromJson,
  1396. (UkLabourRequestDetailLocationList).toString(): UkLabourRequestDetailLocationList.fromJson,
  1397. (UkLabourRequestDetailTemplateList).toString(): UkLabourRequestDetailTemplateList.fromJson,
  1398. (UkLabourRequestDetailDepartmentList).toString(): UkLabourRequestDetailDepartmentList.fromJson,
  1399. (UkLabourRequestDetailChargeList).toString(): UkLabourRequestDetailChargeList.fromJson,
  1400. (UkLabourRequestDetailEmploymentList).toString(): UkLabourRequestDetailEmploymentList.fromJson,
  1401. (UkLabourRequestPreselectAddstatffListEntity).toString(): UkLabourRequestPreselectAddstatffListEntity.fromJson,
  1402. (UkLabourRequestPreselectAddstatffListRows).toString(): UkLabourRequestPreselectAddstatffListRows.fromJson,
  1403. (UkLabourRequestPreselectedListEntity).toString(): UkLabourRequestPreselectedListEntity.fromJson,
  1404. (UkLabourRequestPreselectedListRows).toString(): UkLabourRequestPreselectedListRows.fromJson,
  1405. (UkLabourRequestReviewDetailEntity).toString(): UkLabourRequestReviewDetailEntity.fromJson,
  1406. (UkLabourRequestReviewDetailOrder).toString(): UkLabourRequestReviewDetailOrder.fromJson,
  1407. (UkLabourRequestReviewDetailOrderRequest).toString(): UkLabourRequestReviewDetailOrderRequest.fromJson,
  1408. (UkLabourRequestReviewDetailOrderRecords).toString(): UkLabourRequestReviewDetailOrderRecords.fromJson,
  1409. (UkLabourRequestReviewDetailRecords).toString(): UkLabourRequestReviewDetailRecords.fromJson,
  1410. (UkLabourRequestReviewListEntity).toString(): UkLabourRequestReviewListEntity.fromJson,
  1411. (UkLabourRequestReviewListRows).toString(): UkLabourRequestReviewListRows.fromJson,
  1412. (UkLabourRequestTableEntity).toString(): UkLabourRequestTableEntity.fromJson,
  1413. (UkLabourRequestTableRows).toString(): UkLabourRequestTableRows.fromJson,
  1414. (UkLabourReviewStatusEntity).toString(): UkLabourReviewStatusEntity.fromJson,
  1415. (UkLabourReviewStatusRow).toString(): UkLabourReviewStatusRow.fromJson,
  1416. (UkLabourReviewStatusRecords).toString(): UkLabourReviewStatusRecords.fromJson,
  1417. (UkReportCasualEntity).toString(): UkReportCasualEntity.fromJson,
  1418. (UkReportCasualRows).toString(): UkReportCasualRows.fromJson,
  1419. (UkReportCasualTotal).toString(): UkReportCasualTotal.fromJson,
  1420. (UkReportCasualPayEntity).toString(): UkReportCasualPayEntity.fromJson,
  1421. (UkReportCasualPayRows).toString(): UkReportCasualPayRows.fromJson,
  1422. (UkReportCasualPayTotal).toString(): UkReportCasualPayTotal.fromJson,
  1423. (UkReportOutletEntity).toString(): UkReportOutletEntity.fromJson,
  1424. (UkReportOutletRequestList).toString(): UkReportOutletRequestList.fromJson,
  1425. (UkStaffDetailEntity).toString(): UkStaffDetailEntity.fromJson,
  1426. (UkStaffDetailCertificates).toString(): UkStaffDetailCertificates.fromJson,
  1427. (UkStaffLabourHistoryEntity).toString(): UkStaffLabourHistoryEntity.fromJson,
  1428. (UkStaffLabourHistoryRows).toString(): UkStaffLabourHistoryRows.fromJson,
  1429. (UkStaffLabourHistoryRowsSecurityIn).toString(): UkStaffLabourHistoryRowsSecurityIn.fromJson,
  1430. (UkStaffLabourHistoryRowsSecurityOut).toString(): UkStaffLabourHistoryRowsSecurityOut.fromJson,
  1431. (UkStaffLabourHistoryRowsWorkIn).toString(): UkStaffLabourHistoryRowsWorkIn.fromJson,
  1432. (UkStaffLabourHistoryRowsWorkOut).toString(): UkStaffLabourHistoryRowsWorkOut.fromJson,
  1433. (UkTemplateDetailEntity).toString(): UkTemplateDetailEntity.fromJson,
  1434. (UkTemplateDetailRow).toString(): UkTemplateDetailRow.fromJson,
  1435. (UkTemplateDetailTitleList).toString(): UkTemplateDetailTitleList.fromJson,
  1436. (UkTemplateDetailCertificateList).toString(): UkTemplateDetailCertificateList.fromJson,
  1437. (UkTemplateDetailVehicleList).toString(): UkTemplateDetailVehicleList.fromJson,
  1438. (UkTemplateDetailIndexEntity).toString(): UkTemplateDetailIndexEntity.fromJson,
  1439. (UkTemplateDetailIndexCertificateList).toString(): UkTemplateDetailIndexCertificateList.fromJson,
  1440. (UkTemplateDetailIndexVehicleList).toString(): UkTemplateDetailIndexVehicleList.fromJson,
  1441. (UkTemplateTitleOptionEntity).toString(): UkTemplateTitleOptionEntity.fromJson,
  1442. (ServerTime).toString(): ServerTime.fromJson,
  1443. };
  1444. bool containsKey(String type) {
  1445. return convertFuncMap.containsKey(type);
  1446. }
  1447. JsonConvertFunction? operator [](String key) {
  1448. return convertFuncMap[key];
  1449. }
  1450. }