json_convert_content.dart 93 KB

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