json_convert_content.dart 105 KB

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