123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938 |
- // ignore_for_file: non_constant_identifier_names
- // ignore_for_file: camel_case_types
- // ignore_for_file: prefer_single_quotes
- // This file is automatically generated. DO NOT EDIT, all your changes would be lost.
- import 'package:flutter/material.dart' show debugPrint;
- import 'package:domain/entity/response/add_edit_revise_view_s_g_entity.dart';
- import 'package:domain/entity/response/agency_detail_entity.dart';
- import 'package:domain/entity/response/agency_option_entity.dart';
- import 'package:domain/entity/response/agency_table_entity.dart';
- import 'package:domain/entity/response/attendance_entity.dart';
- import 'package:domain/entity/response/attendance_review_entity.dart';
- import 'package:domain/entity/response/check_success_entity.dart';
- import 'package:domain/entity/response/contract_detail_entity.dart';
- import 'package:domain/entity/response/contract_option_entity.dart';
- import 'package:domain/entity/response/contract_position_add_option_entity.dart';
- import 'package:domain/entity/response/contract_position_option_entity.dart';
- import 'package:domain/entity/response/contract_position_rate_detail_entity.dart';
- import 'package:domain/entity/response/contract_position_rate_specific_option_entity.dart';
- import 'package:domain/entity/response/contract_position_rate_table_entity.dart';
- import 'package:domain/entity/response/contract_position_table_entity.dart';
- import 'package:domain/entity/response/contract_table_entity.dart';
- import 'package:domain/entity/response/device_list_entity.dart';
- import 'package:domain/entity/response/fiance_report_entity.dart';
- import 'package:domain/entity/response/hotel_info_entity.dart';
- import 'package:domain/entity/response/id_name_entity.dart';
- import 'package:domain/entity/response/index_option_entity.dart';
- import 'package:domain/entity/response/job_applied_edit_index_s_g_entity.dart';
- import 'package:domain/entity/response/job_applied_index_s_g_entity.dart';
- import 'package:domain/entity/response/job_applied_list_s_g_entity.dart';
- import 'package:domain/entity/response/job_applied_remark_view_s_g_entity.dart';
- import 'package:domain/entity/response/job_applied_staff_s_g_entity.dart';
- import 'package:domain/entity/response/job_list_add_staff_entity.dart';
- import 'package:domain/entity/response/job_list_applied_edit_entity.dart';
- import 'package:domain/entity/response/job_list_applied_info_entity.dart';
- import 'package:domain/entity/response/job_list_applied_staff_list_entity.dart';
- import 'package:domain/entity/response/job_list_applied_staff_search_entity.dart';
- import 'package:domain/entity/response/job_list_applied_work_flow_entity.dart';
- import 'package:domain/entity/response/job_list_detail_entity.dart';
- import 'package:domain/entity/response/job_list_e_r_detail_entity.dart';
- import 'package:domain/entity/response/job_list_e_r_option_entity.dart';
- import 'package:domain/entity/response/job_list_edit_index_s_g_entity.dart';
- import 'package:domain/entity/response/job_list_entity.dart';
- import 'package:domain/entity/response/job_list_index_entity.dart';
- import 'package:domain/entity/response/job_list_index_s_g_entity.dart';
- import 'package:domain/entity/response/job_list_remark_view_entity.dart';
- import 'package:domain/entity/response/job_list_s_g_entity.dart';
- import 'package:domain/entity/response/job_template_edit_index_entity.dart';
- import 'package:domain/entity/response/job_template_s_g_entity.dart';
- import 'package:domain/entity/response/job_title_edit_index_entity.dart';
- import 'package:domain/entity/response/job_title_s_g_entity.dart';
- import 'package:domain/entity/response/labour_list_e_r_entity.dart';
- import 'package:domain/entity/response/labour_report_entity.dart';
- import 'package:domain/entity/response/labour_report_v_n_entity.dart';
- import 'package:domain/entity/response/labour_request_e_r_entity.dart';
- import 'package:domain/entity/response/labour_request_e_r_option_entity.dart';
- import 'package:domain/entity/response/labour_request_edit_index_entity.dart';
- import 'package:domain/entity/response/labour_request_index_entity.dart';
- import 'package:domain/entity/response/labour_request_list_entity.dart';
- import 'package:domain/entity/response/labour_request_work_flow_entity.dart';
- import 'package:domain/entity/response/labour_review_list_entity.dart';
- import 'package:domain/entity/response/labour_review_status_entity.dart';
- import 'package:domain/entity/response/position_table_entity.dart';
- import 'package:domain/entity/response/revise_index_s_g_entity.dart';
- import 'package:domain/entity/response/revise_list_s_g_entity.dart';
- import 'package:domain/entity/response/revise_log_s_g_entity.dart';
- import 'package:domain/entity/response/s_g_attendance_review_option_entity.dart';
- import 'package:domain/entity/response/s_g_attendance_review_table_entity.dart';
- import 'package:domain/entity/response/s_g_attendance_review_workflow_entity.dart';
- import 'package:domain/entity/response/s_g_dashboard_entity.dart';
- import 'package:domain/entity/response/s_g_labour_request_add_option_entity.dart';
- import 'package:domain/entity/response/s_g_labour_request_detail_entity.dart';
- import 'package:domain/entity/response/s_g_labour_request_option_entity.dart';
- import 'package:domain/entity/response/s_g_labour_request_table_entity.dart';
- import 'package:domain/entity/response/s_g_labour_request_worl_flow_entity.dart';
- import 'package:domain/entity/response/s_g_labour_review_option_entity.dart';
- import 'package:domain/entity/response/s_g_labour_review_table_entity.dart';
- import 'package:domain/entity/response/sign_in_sign_out_entity.dart';
- import 'package:domain/entity/response/staff_detail_entity.dart';
- import 'package:domain/entity/response/staff_detail_s_g_entity.dart';
- import 'package:domain/entity/response/staff_job_history_s_g_entity.dart';
- import 'package:domain/entity/response/staff_labour_history_entity.dart';
- import 'package:domain/entity/response/staff_remark_history_entity.dart';
- import 'package:domain/entity/response/staff_report_v_n_entity.dart';
- import 'package:domain/entity/response/staff_request_report_entity.dart';
- import 'package:domain/entity/response/staff_review_history_s_g_entity.dart';
- import 'package:domain/entity/response/switch_project_entity.dart';
- import 'package:domain/entity/response/t_h_applied_edit_entity.dart';
- import 'package:domain/entity/response/t_h_applied_employee_entity.dart';
- import 'package:domain/entity/response/t_h_applied_index_entity.dart';
- import 'package:domain/entity/response/t_h_applied_table_entity.dart';
- import 'package:domain/entity/response/t_h_employee_detail_entity.dart';
- import 'package:domain/entity/response/t_h_employee_remarks_entity.dart';
- import 'package:domain/entity/response/t_h_o_a_attachment_entity.dart';
- import 'package:domain/entity/response/t_h_o_a_labour_detail_entity.dart';
- import 'package:domain/entity/response/t_h_o_a_labour_review_table_entity.dart';
- import 'package:domain/entity/response/t_h_o_a_labour_table_entity.dart';
- import 'package:domain/entity/response/t_h_upload_file_entity.dart';
- import 'package:domain/entity/response/u_k_attendance_entity.dart';
- import 'package:domain/entity/response/u_k_report_attendance_entity.dart';
- import 'package:domain/entity/response/u_k_report_labour_entity.dart';
- import 'package:domain/entity/response/u_k_report_working_hours_entity.dart';
- import 'package:domain/entity/response/u_k_security_attendance_entity.dart';
- import 'package:domain/entity/response/u_k_security_attendance_option_entity.dart';
- import 'package:domain/entity/response/uk_attendance_review_entity.dart';
- import 'package:domain/entity/response/uk_attendance_review_remark_entity.dart';
- import 'package:domain/entity/response/uk_job_applied_revise_add_detail_entity.dart';
- import 'package:domain/entity/response/uk_job_applied_revise_edit_detail_entity.dart';
- import 'package:domain/entity/response/uk_job_applied_revise_info_entity.dart';
- import 'package:domain/entity/response/uk_job_applied_revise_log_entity.dart';
- import 'package:domain/entity/response/uk_job_applied_staff_list_entity.dart';
- import 'package:domain/entity/response/uk_job_list_applied_staff_search_entity.dart';
- import 'package:domain/entity/response/uk_job_template_detail_by_select_title_entity.dart';
- import 'package:domain/entity/response/uk_lab_req_show_template_entity.dart';
- import 'package:domain/entity/response/uk_labour_request_detail_entity.dart';
- import 'package:domain/entity/response/uk_labour_request_preselect_addstaff_list_entity.dart';
- import 'package:domain/entity/response/uk_labour_request_preselected_list_entity.dart';
- import 'package:domain/entity/response/uk_labour_request_review_detail_entity.dart';
- import 'package:domain/entity/response/uk_labour_request_review_list_entity.dart';
- import 'package:domain/entity/response/uk_labour_request_table_entity.dart';
- import 'package:domain/entity/response/uk_labour_review_status_entity.dart';
- import 'package:domain/entity/response/uk_report_casual_entity.dart';
- import 'package:domain/entity/response/uk_report_casual_pay_entity.dart';
- import 'package:domain/entity/response/uk_report_outlet_entity.dart';
- import 'package:domain/entity/response/uk_staff_detail_entity.dart';
- import 'package:domain/entity/response/uk_staff_labour_history_entity.dart';
- import 'package:domain/entity/response/uk_template_detail_entity.dart';
- import 'package:domain/entity/response/uk_template_detail_index_entity.dart';
- import 'package:domain/entity/response/uk_template_table_entity.dart';
- import 'package:domain/entity/response/uk_template_title_option_entity.dart';
- import 'package:domain/entity/server_time.dart';
- JsonConvert jsonConvert = JsonConvert();
- typedef JsonConvertFunction<T> = T Function(Map<String, dynamic> json);
- typedef EnumConvertFunction<T> = T Function(String value);
- typedef ConvertExceptionHandler = void Function(Object error, StackTrace stackTrace);
- extension MapSafeExt<K, V> on Map<K, V> {
- T? getOrNull<T>(K? key) {
- if (!containsKey(key) || key == null) {
- return null;
- } else {
- return this[key] as T?;
- }
- }
- }
- class JsonConvert {
- static ConvertExceptionHandler? onError;
- JsonConvertClassCollection convertFuncMap = JsonConvertClassCollection();
- /// When you are in the development, to generate a new model class, hot-reload doesn't find new generation model class, you can build on MaterialApp method called jsonConvert. ReassembleConvertFuncMap (); This method only works in a development environment
- /// https://flutter.cn/docs/development/tools/hot-reload
- /// class MyApp extends StatelessWidget {
- /// const MyApp({Key? key})
- /// : super(key: key);
- ///
- /// @override
- /// Widget build(BuildContext context) {
- /// jsonConvert.reassembleConvertFuncMap();
- /// return MaterialApp();
- /// }
- /// }
- void reassembleConvertFuncMap() {
- bool isReleaseMode = const bool.fromEnvironment('dart.vm.product');
- if (!isReleaseMode) {
- convertFuncMap = JsonConvertClassCollection();
- }
- }
- T? convert<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
- if (value == null) {
- return null;
- }
- if (value is T) {
- return value;
- }
- try {
- return _asT<T>(value, enumConvert: enumConvert);
- } catch (e, stackTrace) {
- debugPrint('asT<$T> $e $stackTrace');
- if (onError != null) {
- onError!(e, stackTrace);
- }
- return null;
- }
- }
- List<T?>? convertList<T>(List<dynamic>? value,
- {EnumConvertFunction? enumConvert}) {
- if (value == null) {
- return null;
- }
- try {
- return value.map((dynamic e) => _asT<T>(e, enumConvert: enumConvert))
- .toList();
- } catch (e, stackTrace) {
- debugPrint('asT<$T> $e $stackTrace');
- if (onError != null) {
- onError!(e, stackTrace);
- }
- return <T>[];
- }
- }
- List<T>? convertListNotNull<T>(dynamic value,
- {EnumConvertFunction? enumConvert}) {
- if (value == null) {
- return null;
- }
- try {
- return (value as List<dynamic>).map((dynamic e) =>
- _asT<T>(e, enumConvert: enumConvert)!).toList();
- } catch (e, stackTrace) {
- debugPrint('asT<$T> $e $stackTrace');
- if (onError != null) {
- onError!(e, stackTrace);
- }
- return <T>[];
- }
- }
- T? _asT<T extends Object?>(dynamic value,
- {EnumConvertFunction? enumConvert}) {
- final String type = T.toString();
- final String valueS = value.toString();
- if (enumConvert != null) {
- return enumConvert(valueS) as T;
- } else if (type == "String") {
- return valueS as T;
- } else if (type == "int") {
- final int? intValue = int.tryParse(valueS);
- if (intValue == null) {
- return double.tryParse(valueS)?.toInt() as T?;
- } else {
- return intValue as T;
- }
- } else if (type == "double") {
- return double.parse(valueS) as T;
- } else if (type == "DateTime") {
- return DateTime.parse(valueS) as T;
- } else if (type == "bool") {
- if (valueS == '0' || valueS == '1') {
- return (valueS == '1') as T;
- }
- return (valueS == 'true') as T;
- } else if (type == "Map" || type.startsWith("Map<")) {
- return value as T;
- } else {
- if (convertFuncMap.containsKey(type)) {
- if (value == null) {
- return null;
- }
- var covertFunc = convertFuncMap[type]!;
- if (covertFunc is Map<String, dynamic>) {
- return covertFunc(value as Map<String, dynamic>) as T;
- } else {
- return covertFunc(Map<String, dynamic>.from(value)) as T;
- }
- } else {
- throw UnimplementedError(
- '$type unimplemented,you can try running the app again');
- }
- }
- }
- //list is returned by type
- static M? _getListChildType<M>(List<Map<String, dynamic>> data) {
- if (<AddEditReviseViewSGEntity>[] is M) {
- return data.map<AddEditReviseViewSGEntity>((Map<String, dynamic> e) =>
- AddEditReviseViewSGEntity.fromJson(e)).toList() as M;
- }
- if (<AgencyDetailEntity>[] is M) {
- return data.map<AgencyDetailEntity>((Map<String, dynamic> e) =>
- AgencyDetailEntity.fromJson(e)).toList() as M;
- }
- if (<AgencyDetailPivot>[] is M) {
- return data.map<AgencyDetailPivot>((Map<String, dynamic> e) =>
- AgencyDetailPivot.fromJson(e)).toList() as M;
- }
- if (<AgencyOptionEntity>[] is M) {
- return data.map<AgencyOptionEntity>((Map<String, dynamic> e) =>
- AgencyOptionEntity.fromJson(e)).toList() as M;
- }
- if (<AgencyTableEntity>[] is M) {
- return data.map<AgencyTableEntity>((Map<String, dynamic> e) =>
- AgencyTableEntity.fromJson(e)).toList() as M;
- }
- if (<AgencyTableRows>[] is M) {
- return data.map<AgencyTableRows>((Map<String, dynamic> e) =>
- AgencyTableRows.fromJson(e)).toList() as M;
- }
- if (<AttendanceEntity>[] is M) {
- return data.map<AttendanceEntity>((Map<String, dynamic> e) =>
- AttendanceEntity.fromJson(e)).toList() as M;
- }
- if (<AttendanceList>[] is M) {
- return data.map<AttendanceList>((Map<String, dynamic> e) =>
- AttendanceList.fromJson(e)).toList() as M;
- }
- if (<AttendanceReviewEntity>[] is M) {
- return data.map<AttendanceReviewEntity>((Map<String, dynamic> e) =>
- AttendanceReviewEntity.fromJson(e)).toList() as M;
- }
- if (<AttendanceReviewRows>[] is M) {
- return data.map<AttendanceReviewRows>((Map<String, dynamic> e) =>
- AttendanceReviewRows.fromJson(e)).toList() as M;
- }
- if (<CheckSuccessEntity>[] is M) {
- return data.map<CheckSuccessEntity>((Map<String, dynamic> e) =>
- CheckSuccessEntity.fromJson(e)).toList() as M;
- }
- if (<ContractDetailEntity>[] is M) {
- return data.map<ContractDetailEntity>((Map<String, dynamic> e) =>
- ContractDetailEntity.fromJson(e)).toList() as M;
- }
- if (<ContractDetailRow>[] is M) {
- return data.map<ContractDetailRow>((Map<String, dynamic> e) =>
- ContractDetailRow.fromJson(e)).toList() as M;
- }
- if (<ContractOptionEntity>[] is M) {
- return data.map<ContractOptionEntity>((Map<String, dynamic> e) =>
- ContractOptionEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionAddOptionEntity>[] is M) {
- return data.map<ContractPositionAddOptionEntity>((
- Map<String, dynamic> e) =>
- ContractPositionAddOptionEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionOptionEntity>[] is M) {
- return data.map<ContractPositionOptionEntity>((Map<String, dynamic> e) =>
- ContractPositionOptionEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionRateDetailEntity>[] is M) {
- return data.map<ContractPositionRateDetailEntity>((
- Map<String, dynamic> e) =>
- ContractPositionRateDetailEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionRateSpecificOptionEntity>[] is M) {
- return data.map<ContractPositionRateSpecificOptionEntity>((
- Map<String, dynamic> e) =>
- ContractPositionRateSpecificOptionEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionRateTableEntity>[] is M) {
- return data.map<ContractPositionRateTableEntity>((
- Map<String, dynamic> e) =>
- ContractPositionRateTableEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionRateTableRows>[] is M) {
- return data.map<ContractPositionRateTableRows>((Map<String, dynamic> e) =>
- ContractPositionRateTableRows.fromJson(e)).toList() as M;
- }
- if (<ContractPositionTableEntity>[] is M) {
- return data.map<ContractPositionTableEntity>((Map<String, dynamic> e) =>
- ContractPositionTableEntity.fromJson(e)).toList() as M;
- }
- if (<ContractPositionTableRows>[] is M) {
- return data.map<ContractPositionTableRows>((Map<String, dynamic> e) =>
- ContractPositionTableRows.fromJson(e)).toList() as M;
- }
- if (<ContractTableEntity>[] is M) {
- return data.map<ContractTableEntity>((Map<String, dynamic> e) =>
- ContractTableEntity.fromJson(e)).toList() as M;
- }
- if (<ContractTableRows>[] is M) {
- return data.map<ContractTableRows>((Map<String, dynamic> e) =>
- ContractTableRows.fromJson(e)).toList() as M;
- }
- if (<DeviceListEntity>[] is M) {
- return data.map<DeviceListEntity>((Map<String, dynamic> e) =>
- DeviceListEntity.fromJson(e)).toList() as M;
- }
- if (<DeviceListRows>[] is M) {
- return data.map<DeviceListRows>((Map<String, dynamic> e) =>
- DeviceListRows.fromJson(e)).toList() as M;
- }
- if (<FianceReportEntity>[] is M) {
- return data.map<FianceReportEntity>((Map<String, dynamic> e) =>
- FianceReportEntity.fromJson(e)).toList() as M;
- }
- if (<FianceReportRateList>[] is M) {
- return data.map<FianceReportRateList>((Map<String, dynamic> e) =>
- FianceReportRateList.fromJson(e)).toList() as M;
- }
- if (<HotelInfoEntity>[] is M) {
- return data.map<HotelInfoEntity>((Map<String, dynamic> e) =>
- HotelInfoEntity.fromJson(e)).toList() as M;
- }
- if (<HotelInfoMenus>[] is M) {
- return data.map<HotelInfoMenus>((Map<String, dynamic> e) =>
- HotelInfoMenus.fromJson(e)).toList() as M;
- }
- if (<HotelInfoMenusChildren>[] is M) {
- return data.map<HotelInfoMenusChildren>((Map<String, dynamic> e) =>
- HotelInfoMenusChildren.fromJson(e)).toList() as M;
- }
- if (<IdNameEntity>[] is M) {
- return data.map<IdNameEntity>((Map<String, dynamic> e) =>
- IdNameEntity.fromJson(e)).toList() as M;
- }
- if (<IndexOptionEntity>[] is M) {
- return data.map<IndexOptionEntity>((Map<String, dynamic> e) =>
- IndexOptionEntity.fromJson(e)).toList() as M;
- }
- if (<JobAppliedEditIndexSGEntity>[] is M) {
- return data.map<JobAppliedEditIndexSGEntity>((Map<String, dynamic> e) =>
- JobAppliedEditIndexSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobAppliedEditIndexSGStatusList>[] is M) {
- return data.map<JobAppliedEditIndexSGStatusList>((
- Map<String, dynamic> e) =>
- JobAppliedEditIndexSGStatusList.fromJson(e)).toList() as M;
- }
- if (<JobAppliedIndexSGEntity>[] is M) {
- return data.map<JobAppliedIndexSGEntity>((Map<String, dynamic> e) =>
- JobAppliedIndexSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobAppliedIndexSGStatusList>[] is M) {
- return data.map<JobAppliedIndexSGStatusList>((Map<String, dynamic> e) =>
- JobAppliedIndexSGStatusList.fromJson(e)).toList() as M;
- }
- if (<JobAppliedListSGEntity>[] is M) {
- return data.map<JobAppliedListSGEntity>((Map<String, dynamic> e) =>
- JobAppliedListSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobAppliedListSGRows>[] is M) {
- return data.map<JobAppliedListSGRows>((Map<String, dynamic> e) =>
- JobAppliedListSGRows.fromJson(e)).toList() as M;
- }
- if (<JobAppliedListSGRowsCheck>[] is M) {
- return data.map<JobAppliedListSGRowsCheck>((Map<String, dynamic> e) =>
- JobAppliedListSGRowsCheck.fromJson(e)).toList() as M;
- }
- if (<JobAppliedListSGRowsStatusList>[] is M) {
- return data.map<JobAppliedListSGRowsStatusList>((
- Map<String, dynamic> e) => JobAppliedListSGRowsStatusList.fromJson(e))
- .toList() as M;
- }
- if (<JobAppliedRemarkViewSGEntity>[] is M) {
- return data.map<JobAppliedRemarkViewSGEntity>((Map<String, dynamic> e) =>
- JobAppliedRemarkViewSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobAppliedStaffSGEntity>[] is M) {
- return data.map<JobAppliedStaffSGEntity>((Map<String, dynamic> e) =>
- JobAppliedStaffSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobAppliedStaffSGRows>[] is M) {
- return data.map<JobAppliedStaffSGRows>((Map<String, dynamic> e) =>
- JobAppliedStaffSGRows.fromJson(e)).toList() as M;
- }
- if (<JobListAddStaffEntity>[] is M) {
- return data.map<JobListAddStaffEntity>((Map<String, dynamic> e) =>
- JobListAddStaffEntity.fromJson(e)).toList() as M;
- }
- if (<JobListAddStaffResultList>[] is M) {
- return data.map<JobListAddStaffResultList>((Map<String, dynamic> e) =>
- JobListAddStaffResultList.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedEditEntity>[] is M) {
- return data.map<JobListAppliedEditEntity>((Map<String, dynamic> e) =>
- JobListAppliedEditEntity.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedEditReasonList>[] is M) {
- return data.map<JobListAppliedEditReasonList>((Map<String, dynamic> e) =>
- JobListAppliedEditReasonList.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedInfoEntity>[] is M) {
- return data.map<JobListAppliedInfoEntity>((Map<String, dynamic> e) =>
- JobListAppliedInfoEntity.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffListEntity>[] is M) {
- return data.map<JobListAppliedStaffListEntity>((Map<String, dynamic> e) =>
- JobListAppliedStaffListEntity.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffListRows>[] is M) {
- return data.map<JobListAppliedStaffListRows>((Map<String, dynamic> e) =>
- JobListAppliedStaffListRows.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffListRowsSecurityIn>[] is M) {
- return data.map<JobListAppliedStaffListRowsSecurityIn>((
- Map<String, dynamic> e) =>
- JobListAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffListRowsSecurityOut>[] is M) {
- return data.map<JobListAppliedStaffListRowsSecurityOut>((
- Map<String, dynamic> e) =>
- JobListAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffListRowsWorkIn>[] is M) {
- return data.map<JobListAppliedStaffListRowsWorkIn>((
- Map<String, dynamic> e) =>
- JobListAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffListRowsWorkOut>[] is M) {
- return data.map<JobListAppliedStaffListRowsWorkOut>((
- Map<String, dynamic> e) =>
- JobListAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffSearchEntity>[] is M) {
- return data.map<JobListAppliedStaffSearchEntity>((
- Map<String, dynamic> e) =>
- JobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedStaffSearchRows>[] is M) {
- return data.map<JobListAppliedStaffSearchRows>((Map<String, dynamic> e) =>
- JobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedWorkFlowEntity>[] is M) {
- return data.map<JobListAppliedWorkFlowEntity>((Map<String, dynamic> e) =>
- JobListAppliedWorkFlowEntity.fromJson(e)).toList() as M;
- }
- if (<JobListAppliedWorkFlowRecords>[] is M) {
- return data.map<JobListAppliedWorkFlowRecords>((Map<String, dynamic> e) =>
- JobListAppliedWorkFlowRecords.fromJson(e)).toList() as M;
- }
- if (<JobListDetailEntity>[] is M) {
- return data.map<JobListDetailEntity>((Map<String, dynamic> e) =>
- JobListDetailEntity.fromJson(e)).toList() as M;
- }
- if (<JobListDetailDepartmentList>[] is M) {
- return data.map<JobListDetailDepartmentList>((Map<String, dynamic> e) =>
- JobListDetailDepartmentList.fromJson(e)).toList() as M;
- }
- if (<JobListERDetailEntity>[] is M) {
- return data.map<JobListERDetailEntity>((Map<String, dynamic> e) =>
- JobListERDetailEntity.fromJson(e)).toList() as M;
- }
- if (<JobListERDetailJob>[] is M) {
- return data.map<JobListERDetailJob>((Map<String, dynamic> e) =>
- JobListERDetailJob.fromJson(e)).toList() as M;
- }
- if (<JobListEROptionEntity>[] is M) {
- return data.map<JobListEROptionEntity>((Map<String, dynamic> e) =>
- JobListEROptionEntity.fromJson(e)).toList() as M;
- }
- if (<JobListEROptionFilter>[] is M) {
- return data.map<JobListEROptionFilter>((Map<String, dynamic> e) =>
- JobListEROptionFilter.fromJson(e)).toList() as M;
- }
- if (<JobListEditIndexSGEntity>[] is M) {
- return data.map<JobListEditIndexSGEntity>((Map<String, dynamic> e) =>
- JobListEditIndexSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobListEditIndexOption>[] is M) {
- return data.map<JobListEditIndexOption>((Map<String, dynamic> e) =>
- JobListEditIndexOption.fromJson(e)).toList() as M;
- }
- if (<JobListEntity>[] is M) {
- return data.map<JobListEntity>((Map<String, dynamic> e) =>
- JobListEntity.fromJson(e)).toList() as M;
- }
- if (<JobListRows>[] is M) {
- return data.map<JobListRows>((Map<String, dynamic> e) =>
- JobListRows.fromJson(e)).toList() as M;
- }
- if (<JobListIndexEntity>[] is M) {
- return data.map<JobListIndexEntity>((Map<String, dynamic> e) =>
- JobListIndexEntity.fromJson(e)).toList() as M;
- }
- if (<JobListIndexDepartmentList>[] is M) {
- return data.map<JobListIndexDepartmentList>((Map<String, dynamic> e) =>
- JobListIndexDepartmentList.fromJson(e)).toList() as M;
- }
- if (<JobListIndexStatusList>[] is M) {
- return data.map<JobListIndexStatusList>((Map<String, dynamic> e) =>
- JobListIndexStatusList.fromJson(e)).toList() as M;
- }
- if (<JobListIndexSGEntity>[] is M) {
- return data.map<JobListIndexSGEntity>((Map<String, dynamic> e) =>
- JobListIndexSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobListIndexSGOption>[] is M) {
- return data.map<JobListIndexSGOption>((Map<String, dynamic> e) =>
- JobListIndexSGOption.fromJson(e)).toList() as M;
- }
- if (<JobListRemarkViewEntity>[] is M) {
- return data.map<JobListRemarkViewEntity>((Map<String, dynamic> e) =>
- JobListRemarkViewEntity.fromJson(e)).toList() as M;
- }
- if (<JobListSGEntity>[] is M) {
- return data.map<JobListSGEntity>((Map<String, dynamic> e) =>
- JobListSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobListSGRows>[] is M) {
- return data.map<JobListSGRows>((Map<String, dynamic> e) =>
- JobListSGRows.fromJson(e)).toList() as M;
- }
- if (<JobTemplateEditIndexEntity>[] is M) {
- return data.map<JobTemplateEditIndexEntity>((Map<String, dynamic> e) =>
- JobTemplateEditIndexEntity.fromJson(e)).toList() as M;
- }
- if (<JobTemplateEditIndexAgeList>[] is M) {
- return data.map<JobTemplateEditIndexAgeList>((Map<String, dynamic> e) =>
- JobTemplateEditIndexAgeList.fromJson(e)).toList() as M;
- }
- if (<JobTemplateEditIndexSexList>[] is M) {
- return data.map<JobTemplateEditIndexSexList>((Map<String, dynamic> e) =>
- JobTemplateEditIndexSexList.fromJson(e)).toList() as M;
- }
- if (<JobTemplateEditIndexLanguageList>[] is M) {
- return data.map<JobTemplateEditIndexLanguageList>((
- Map<String, dynamic> e) =>
- JobTemplateEditIndexLanguageList.fromJson(e)).toList() as M;
- }
- if (<JobTemplateSGEntity>[] is M) {
- return data.map<JobTemplateSGEntity>((Map<String, dynamic> e) =>
- JobTemplateSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobTemplateSGRows>[] is M) {
- return data.map<JobTemplateSGRows>((Map<String, dynamic> e) =>
- JobTemplateSGRows.fromJson(e)).toList() as M;
- }
- if (<JobTitleEditIndexEntity>[] is M) {
- return data.map<JobTitleEditIndexEntity>((Map<String, dynamic> e) =>
- JobTitleEditIndexEntity.fromJson(e)).toList() as M;
- }
- if (<JobTitleEditIndexTemplate>[] is M) {
- return data.map<JobTitleEditIndexTemplate>((Map<String, dynamic> e) =>
- JobTitleEditIndexTemplate.fromJson(e)).toList() as M;
- }
- if (<JobTitleSGEntity>[] is M) {
- return data.map<JobTitleSGEntity>((Map<String, dynamic> e) =>
- JobTitleSGEntity.fromJson(e)).toList() as M;
- }
- if (<JobTitleSGRows>[] is M) {
- return data.map<JobTitleSGRows>((Map<String, dynamic> e) =>
- JobTitleSGRows.fromJson(e)).toList() as M;
- }
- if (<LabourListEREntity>[] is M) {
- return data.map<LabourListEREntity>((Map<String, dynamic> e) =>
- LabourListEREntity.fromJson(e)).toList() as M;
- }
- if (<LabourListERRows>[] is M) {
- return data.map<LabourListERRows>((Map<String, dynamic> e) =>
- LabourListERRows.fromJson(e)).toList() as M;
- }
- if (<LabourReportEntity>[] is M) {
- return data.map<LabourReportEntity>((Map<String, dynamic> e) =>
- LabourReportEntity.fromJson(e)).toList() as M;
- }
- if (<LabourReportRows>[] is M) {
- return data.map<LabourReportRows>((Map<String, dynamic> e) =>
- LabourReportRows.fromJson(e)).toList() as M;
- }
- if (<LabourReportTotal>[] is M) {
- return data.map<LabourReportTotal>((Map<String, dynamic> e) =>
- LabourReportTotal.fromJson(e)).toList() as M;
- }
- if (<LabourReportVNEntity>[] is M) {
- return data.map<LabourReportVNEntity>((Map<String, dynamic> e) =>
- LabourReportVNEntity.fromJson(e)).toList() as M;
- }
- if (<LabourReportVNRows>[] is M) {
- return data.map<LabourReportVNRows>((Map<String, dynamic> e) =>
- LabourReportVNRows.fromJson(e)).toList() as M;
- }
- if (<LabourReportVNTotal>[] is M) {
- return data.map<LabourReportVNTotal>((Map<String, dynamic> e) =>
- LabourReportVNTotal.fromJson(e)).toList() as M;
- }
- if (<LabourRequestEREntity>[] is M) {
- return data.map<LabourRequestEREntity>((Map<String, dynamic> e) =>
- LabourRequestEREntity.fromJson(e)).toList() as M;
- }
- if (<LabourRequestERCountList>[] is M) {
- return data.map<LabourRequestERCountList>((Map<String, dynamic> e) =>
- LabourRequestERCountList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestERSourceList>[] is M) {
- return data.map<LabourRequestERSourceList>((Map<String, dynamic> e) =>
- LabourRequestERSourceList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestERSourceListRequestList>[] is M) {
- return data.map<LabourRequestERSourceListRequestList>((
- Map<String, dynamic> e) =>
- LabourRequestERSourceListRequestList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestEROptionEntity>[] is M) {
- return data.map<LabourRequestEROptionEntity>((Map<String, dynamic> e) =>
- LabourRequestEROptionEntity.fromJson(e)).toList() as M;
- }
- if (<LabourRequestEditIndexEntity>[] is M) {
- return data.map<LabourRequestEditIndexEntity>((Map<String, dynamic> e) =>
- LabourRequestEditIndexEntity.fromJson(e)).toList() as M;
- }
- if (<LabourRequestEditIndexTemplateList>[] is M) {
- return data.map<LabourRequestEditIndexTemplateList>((
- Map<String, dynamic> e) =>
- LabourRequestEditIndexTemplateList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestEditIndexDepartmentList>[] is M) {
- return data.map<LabourRequestEditIndexDepartmentList>((
- Map<String, dynamic> e) =>
- LabourRequestEditIndexDepartmentList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestIndexEntity>[] is M) {
- return data.map<LabourRequestIndexEntity>((Map<String, dynamic> e) =>
- LabourRequestIndexEntity.fromJson(e)).toList() as M;
- }
- if (<LabourRequestIndexDepartmentList>[] is M) {
- return data.map<LabourRequestIndexDepartmentList>((
- Map<String, dynamic> e) =>
- LabourRequestIndexDepartmentList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestIndexStatusList>[] is M) {
- return data.map<LabourRequestIndexStatusList>((Map<String, dynamic> e) =>
- LabourRequestIndexStatusList.fromJson(e)).toList() as M;
- }
- if (<LabourRequestListEntity>[] is M) {
- return data.map<LabourRequestListEntity>((Map<String, dynamic> e) =>
- LabourRequestListEntity.fromJson(e)).toList() as M;
- }
- if (<LabourRequestListRows>[] is M) {
- return data.map<LabourRequestListRows>((Map<String, dynamic> e) =>
- LabourRequestListRows.fromJson(e)).toList() as M;
- }
- if (<LabourRequestWorkFlowEntity>[] is M) {
- return data.map<LabourRequestWorkFlowEntity>((Map<String, dynamic> e) =>
- LabourRequestWorkFlowEntity.fromJson(e)).toList() as M;
- }
- if (<LabourRequestWorkFlowRecords>[] is M) {
- return data.map<LabourRequestWorkFlowRecords>((Map<String, dynamic> e) =>
- LabourRequestWorkFlowRecords.fromJson(e)).toList() as M;
- }
- if (<LabourReviewListEntity>[] is M) {
- return data.map<LabourReviewListEntity>((Map<String, dynamic> e) =>
- LabourReviewListEntity.fromJson(e)).toList() as M;
- }
- if (<LabourReviewListRows>[] is M) {
- return data.map<LabourReviewListRows>((Map<String, dynamic> e) =>
- LabourReviewListRows.fromJson(e)).toList() as M;
- }
- if (<LabourReviewStatusEntity>[] is M) {
- return data.map<LabourReviewStatusEntity>((Map<String, dynamic> e) =>
- LabourReviewStatusEntity.fromJson(e)).toList() as M;
- }
- if (<LabourReviewStatusRecords>[] is M) {
- return data.map<LabourReviewStatusRecords>((Map<String, dynamic> e) =>
- LabourReviewStatusRecords.fromJson(e)).toList() as M;
- }
- if (<PositionTableEntity>[] is M) {
- return data.map<PositionTableEntity>((Map<String, dynamic> e) =>
- PositionTableEntity.fromJson(e)).toList() as M;
- }
- if (<PositionTableRows>[] is M) {
- return data.map<PositionTableRows>((Map<String, dynamic> e) =>
- PositionTableRows.fromJson(e)).toList() as M;
- }
- if (<ReviseIndexSGEntity>[] is M) {
- return data.map<ReviseIndexSGEntity>((Map<String, dynamic> e) =>
- ReviseIndexSGEntity.fromJson(e)).toList() as M;
- }
- if (<ReviseIndexSGStatusList>[] is M) {
- return data.map<ReviseIndexSGStatusList>((Map<String, dynamic> e) =>
- ReviseIndexSGStatusList.fromJson(e)).toList() as M;
- }
- if (<ReviseListSGEntity>[] is M) {
- return data.map<ReviseListSGEntity>((Map<String, dynamic> e) =>
- ReviseListSGEntity.fromJson(e)).toList() as M;
- }
- if (<ReviseListSGRows>[] is M) {
- return data.map<ReviseListSGRows>((Map<String, dynamic> e) =>
- ReviseListSGRows.fromJson(e)).toList() as M;
- }
- if (<ReviseLogSGEntity>[] is M) {
- return data.map<ReviseLogSGEntity>((Map<String, dynamic> e) =>
- ReviseLogSGEntity.fromJson(e)).toList() as M;
- }
- if (<ReviseLogSGRecords>[] is M) {
- return data.map<ReviseLogSGRecords>((Map<String, dynamic> e) =>
- ReviseLogSGRecords.fromJson(e)).toList() as M;
- }
- if (<ReviseLogSGRecordsContent>[] is M) {
- return data.map<ReviseLogSGRecordsContent>((Map<String, dynamic> e) =>
- ReviseLogSGRecordsContent.fromJson(e)).toList() as M;
- }
- if (<ReviseLogSGRecordsOption>[] is M) {
- return data.map<ReviseLogSGRecordsOption>((Map<String, dynamic> e) =>
- ReviseLogSGRecordsOption.fromJson(e)).toList() as M;
- }
- if (<SGAttendanceReviewOptionEntity>[] is M) {
- return data.map<SGAttendanceReviewOptionEntity>((
- Map<String, dynamic> e) => SGAttendanceReviewOptionEntity.fromJson(e))
- .toList() as M;
- }
- if (<SGAttendanceReviewTableEntity>[] is M) {
- return data.map<SGAttendanceReviewTableEntity>((Map<String, dynamic> e) =>
- SGAttendanceReviewTableEntity.fromJson(e)).toList() as M;
- }
- if (<SGAttendanceReviewTableRows>[] is M) {
- return data.map<SGAttendanceReviewTableRows>((Map<String, dynamic> e) =>
- SGAttendanceReviewTableRows.fromJson(e)).toList() as M;
- }
- if (<SGAttendanceReviewTableRowsCheck>[] is M) {
- return data.map<SGAttendanceReviewTableRowsCheck>((
- Map<String, dynamic> e) =>
- SGAttendanceReviewTableRowsCheck.fromJson(e)).toList() as M;
- }
- if (<SGAttendanceReviewWorkflowEntity>[] is M) {
- return data.map<SGAttendanceReviewWorkflowEntity>((
- Map<String, dynamic> e) =>
- SGAttendanceReviewWorkflowEntity.fromJson(e)).toList() as M;
- }
- if (<SGAttendanceReviewWorkflowRow>[] is M) {
- return data.map<SGAttendanceReviewWorkflowRow>((Map<String, dynamic> e) =>
- SGAttendanceReviewWorkflowRow.fromJson(e)).toList() as M;
- }
- if (<SGAttendanceReviewWorkflowRecords>[] is M) {
- return data.map<SGAttendanceReviewWorkflowRecords>((
- Map<String, dynamic> e) =>
- SGAttendanceReviewWorkflowRecords.fromJson(e)).toList() as M;
- }
- if (<SGDashboardEntity>[] is M) {
- return data.map<SGDashboardEntity>((Map<String, dynamic> e) =>
- SGDashboardEntity.fromJson(e)).toList() as M;
- }
- if (<SGDashboardAgencyList>[] is M) {
- return data.map<SGDashboardAgencyList>((Map<String, dynamic> e) =>
- SGDashboardAgencyList.fromJson(e)).toList() as M;
- }
- if (<SGDashboardAgencyListDays>[] is M) {
- return data.map<SGDashboardAgencyListDays>((Map<String, dynamic> e) =>
- SGDashboardAgencyListDays.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestAddOptionEntity>[] is M) {
- return data.map<SGLabourRequestAddOptionEntity>((
- Map<String, dynamic> e) => SGLabourRequestAddOptionEntity.fromJson(e))
- .toList() as M;
- }
- if (<LabourRequestAgencyEntity>[] is M) {
- return data.map<LabourRequestAgencyEntity>((Map<String, dynamic> e) =>
- LabourRequestAgencyEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestDetailEntity>[] is M) {
- return data.map<SGLabourRequestDetailEntity>((Map<String, dynamic> e) =>
- SGLabourRequestDetailEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestDetailLabReq>[] is M) {
- return data.map<SGLabourRequestDetailLabReq>((Map<String, dynamic> e) =>
- SGLabourRequestDetailLabReq.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestOptionEntity>[] is M) {
- return data.map<SGLabourRequestOptionEntity>((Map<String, dynamic> e) =>
- SGLabourRequestOptionEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestTableEntity>[] is M) {
- return data.map<SGLabourRequestTableEntity>((Map<String, dynamic> e) =>
- SGLabourRequestTableEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestTableRows>[] is M) {
- return data.map<SGLabourRequestTableRows>((Map<String, dynamic> e) =>
- SGLabourRequestTableRows.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestWorlFlowEntity>[] is M) {
- return data.map<SGLabourRequestWorlFlowEntity>((Map<String, dynamic> e) =>
- SGLabourRequestWorlFlowEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestWorlFlowRow>[] is M) {
- return data.map<SGLabourRequestWorlFlowRow>((Map<String, dynamic> e) =>
- SGLabourRequestWorlFlowRow.fromJson(e)).toList() as M;
- }
- if (<SGLabourRequestWorlFlowRecords>[] is M) {
- return data.map<SGLabourRequestWorlFlowRecords>((
- Map<String, dynamic> e) => SGLabourRequestWorlFlowRecords.fromJson(e))
- .toList() as M;
- }
- if (<SGLabourReviewOptionEntity>[] is M) {
- return data.map<SGLabourReviewOptionEntity>((Map<String, dynamic> e) =>
- SGLabourReviewOptionEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourReviewTableEntity>[] is M) {
- return data.map<SGLabourReviewTableEntity>((Map<String, dynamic> e) =>
- SGLabourReviewTableEntity.fromJson(e)).toList() as M;
- }
- if (<SGLabourReviewTableRows>[] is M) {
- return data.map<SGLabourReviewTableRows>((Map<String, dynamic> e) =>
- SGLabourReviewTableRows.fromJson(e)).toList() as M;
- }
- if (<SignInSignOutEntity>[] is M) {
- return data.map<SignInSignOutEntity>((Map<String, dynamic> e) =>
- SignInSignOutEntity.fromJson(e)).toList() as M;
- }
- if (<SignInSignOutRows>[] is M) {
- return data.map<SignInSignOutRows>((Map<String, dynamic> e) =>
- SignInSignOutRows.fromJson(e)).toList() as M;
- }
- if (<StaffDetailEntity>[] is M) {
- return data.map<StaffDetailEntity>((Map<String, dynamic> e) =>
- StaffDetailEntity.fromJson(e)).toList() as M;
- }
- if (<StaffDetailSGEntity>[] is M) {
- return data.map<StaffDetailSGEntity>((Map<String, dynamic> e) =>
- StaffDetailSGEntity.fromJson(e)).toList() as M;
- }
- if (<StaffDetailSGReviews>[] is M) {
- return data.map<StaffDetailSGReviews>((Map<String, dynamic> e) =>
- StaffDetailSGReviews.fromJson(e)).toList() as M;
- }
- if (<StaffDetailSGReviewsReviews>[] is M) {
- return data.map<StaffDetailSGReviewsReviews>((Map<String, dynamic> e) =>
- StaffDetailSGReviewsReviews.fromJson(e)).toList() as M;
- }
- if (<StaffJobHistorySGEntity>[] is M) {
- return data.map<StaffJobHistorySGEntity>((Map<String, dynamic> e) =>
- StaffJobHistorySGEntity.fromJson(e)).toList() as M;
- }
- if (<StaffJobHistorySGRows>[] is M) {
- return data.map<StaffJobHistorySGRows>((Map<String, dynamic> e) =>
- StaffJobHistorySGRows.fromJson(e)).toList() as M;
- }
- if (<StaffLabourHistoryEntity>[] is M) {
- return data.map<StaffLabourHistoryEntity>((Map<String, dynamic> e) =>
- StaffLabourHistoryEntity.fromJson(e)).toList() as M;
- }
- if (<StaffLabourHistoryRows>[] is M) {
- return data.map<StaffLabourHistoryRows>((Map<String, dynamic> e) =>
- StaffLabourHistoryRows.fromJson(e)).toList() as M;
- }
- if (<StaffLabourHistoryRowsSecurityIn>[] is M) {
- return data.map<StaffLabourHistoryRowsSecurityIn>((
- Map<String, dynamic> e) =>
- StaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
- }
- if (<StaffLabourHistoryRowsSecurityOut>[] is M) {
- return data.map<StaffLabourHistoryRowsSecurityOut>((
- Map<String, dynamic> e) =>
- StaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
- }
- if (<StaffLabourHistoryRowsWorkIn>[] is M) {
- return data.map<StaffLabourHistoryRowsWorkIn>((Map<String, dynamic> e) =>
- StaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M;
- }
- if (<StaffLabourHistoryRowsWorkOut>[] is M) {
- return data.map<StaffLabourHistoryRowsWorkOut>((Map<String, dynamic> e) =>
- StaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
- }
- if (<StaffRemarkHistoryEntity>[] is M) {
- return data.map<StaffRemarkHistoryEntity>((Map<String, dynamic> e) =>
- StaffRemarkHistoryEntity.fromJson(e)).toList() as M;
- }
- if (<StaffRemarkHistoryRows>[] is M) {
- return data.map<StaffRemarkHistoryRows>((Map<String, dynamic> e) =>
- StaffRemarkHistoryRows.fromJson(e)).toList() as M;
- }
- if (<StaffReportVNEntity>[] is M) {
- return data.map<StaffReportVNEntity>((Map<String, dynamic> e) =>
- StaffReportVNEntity.fromJson(e)).toList() as M;
- }
- if (<StaffRequestReportEntity>[] is M) {
- return data.map<StaffRequestReportEntity>((Map<String, dynamic> e) =>
- StaffRequestReportEntity.fromJson(e)).toList() as M;
- }
- if (<StaffReviewHistorySGEntity>[] is M) {
- return data.map<StaffReviewHistorySGEntity>((Map<String, dynamic> e) =>
- StaffReviewHistorySGEntity.fromJson(e)).toList() as M;
- }
- if (<StaffReviewHistorySGReviews>[] is M) {
- return data.map<StaffReviewHistorySGReviews>((Map<String, dynamic> e) =>
- StaffReviewHistorySGReviews.fromJson(e)).toList() as M;
- }
- if (<SwitchProjectEntity>[] is M) {
- return data.map<SwitchProjectEntity>((Map<String, dynamic> e) =>
- SwitchProjectEntity.fromJson(e)).toList() as M;
- }
- if (<SwitchProjectUserList>[] is M) {
- return data.map<SwitchProjectUserList>((Map<String, dynamic> e) =>
- SwitchProjectUserList.fromJson(e)).toList() as M;
- }
- if (<THAppliedEditEntity>[] is M) {
- return data.map<THAppliedEditEntity>((Map<String, dynamic> e) =>
- THAppliedEditEntity.fromJson(e)).toList() as M;
- }
- if (<THAppliedEditApplied>[] is M) {
- return data.map<THAppliedEditApplied>((Map<String, dynamic> e) =>
- THAppliedEditApplied.fromJson(e)).toList() as M;
- }
- if (<THAppliedEmployeeEntity>[] is M) {
- return data.map<THAppliedEmployeeEntity>((Map<String, dynamic> e) =>
- THAppliedEmployeeEntity.fromJson(e)).toList() as M;
- }
- if (<THAppliedEmployeeRows>[] is M) {
- return data.map<THAppliedEmployeeRows>((Map<String, dynamic> e) =>
- THAppliedEmployeeRows.fromJson(e)).toList() as M;
- }
- if (<THAppliedIndexEntity>[] is M) {
- return data.map<THAppliedIndexEntity>((Map<String, dynamic> e) =>
- THAppliedIndexEntity.fromJson(e)).toList() as M;
- }
- if (<THAppliedIndexJob>[] is M) {
- return data.map<THAppliedIndexJob>((Map<String, dynamic> e) =>
- THAppliedIndexJob.fromJson(e)).toList() as M;
- }
- if (<THAppliedTableEntity>[] is M) {
- return data.map<THAppliedTableEntity>((Map<String, dynamic> e) =>
- THAppliedTableEntity.fromJson(e)).toList() as M;
- }
- if (<THAppliedTableRows>[] is M) {
- return data.map<THAppliedTableRows>((Map<String, dynamic> e) =>
- THAppliedTableRows.fromJson(e)).toList() as M;
- }
- if (<THAppliedTableCheckInOut>[] is M) {
- return data.map<THAppliedTableCheckInOut>((Map<String, dynamic> e) =>
- THAppliedTableCheckInOut.fromJson(e)).toList() as M;
- }
- if (<THEmployeeDetailEntity>[] is M) {
- return data.map<THEmployeeDetailEntity>((Map<String, dynamic> e) =>
- THEmployeeDetailEntity.fromJson(e)).toList() as M;
- }
- if (<THEmployeeDetailStaff>[] is M) {
- return data.map<THEmployeeDetailStaff>((Map<String, dynamic> e) =>
- THEmployeeDetailStaff.fromJson(e)).toList() as M;
- }
- if (<THEmployeeDetailReviews>[] is M) {
- return data.map<THEmployeeDetailReviews>((Map<String, dynamic> e) =>
- THEmployeeDetailReviews.fromJson(e)).toList() as M;
- }
- if (<THEmployeeRemarksEntity>[] is M) {
- return data.map<THEmployeeRemarksEntity>((Map<String, dynamic> e) =>
- THEmployeeRemarksEntity.fromJson(e)).toList() as M;
- }
- if (<THEmployeeRemarksReviews>[] is M) {
- return data.map<THEmployeeRemarksReviews>((Map<String, dynamic> e) =>
- THEmployeeRemarksReviews.fromJson(e)).toList() as M;
- }
- if (<THOAAttachmentEntity>[] is M) {
- return data.map<THOAAttachmentEntity>((Map<String, dynamic> e) =>
- THOAAttachmentEntity.fromJson(e)).toList() as M;
- }
- if (<THOAAttachmentRows>[] is M) {
- return data.map<THOAAttachmentRows>((Map<String, dynamic> e) =>
- THOAAttachmentRows.fromJson(e)).toList() as M;
- }
- if (<THOALabourDetailEntity>[] is M) {
- return data.map<THOALabourDetailEntity>((Map<String, dynamic> e) =>
- THOALabourDetailEntity.fromJson(e)).toList() as M;
- }
- if (<THOALabourDetailLabourRequest>[] is M) {
- return data.map<THOALabourDetailLabourRequest>((Map<String, dynamic> e) =>
- THOALabourDetailLabourRequest.fromJson(e)).toList() as M;
- }
- if (<THOALabourReviewTableEntity>[] is M) {
- return data.map<THOALabourReviewTableEntity>((Map<String, dynamic> e) =>
- THOALabourReviewTableEntity.fromJson(e)).toList() as M;
- }
- if (<THOALabourReviewTableRows>[] is M) {
- return data.map<THOALabourReviewTableRows>((Map<String, dynamic> e) =>
- THOALabourReviewTableRows.fromJson(e)).toList() as M;
- }
- if (<THOALabourTableEntity>[] is M) {
- return data.map<THOALabourTableEntity>((Map<String, dynamic> e) =>
- THOALabourTableEntity.fromJson(e)).toList() as M;
- }
- if (<THOALabourTableRows>[] is M) {
- return data.map<THOALabourTableRows>((Map<String, dynamic> e) =>
- THOALabourTableRows.fromJson(e)).toList() as M;
- }
- if (<THUploadFileEntity>[] is M) {
- return data.map<THUploadFileEntity>((Map<String, dynamic> e) =>
- THUploadFileEntity.fromJson(e)).toList() as M;
- }
- if (<UKAttendanceEntity>[] is M) {
- return data.map<UKAttendanceEntity>((Map<String, dynamic> e) =>
- UKAttendanceEntity.fromJson(e)).toList() as M;
- }
- if (<UKAttendanceRows>[] is M) {
- return data.map<UKAttendanceRows>((Map<String, dynamic> e) =>
- UKAttendanceRows.fromJson(e)).toList() as M;
- }
- if (<UKAttendanceInOut>[] is M) {
- return data.map<UKAttendanceInOut>((Map<String, dynamic> e) =>
- UKAttendanceInOut.fromJson(e)).toList() as M;
- }
- if (<UKReportAttendanceEntity>[] is M) {
- return data.map<UKReportAttendanceEntity>((Map<String, dynamic> e) =>
- UKReportAttendanceEntity.fromJson(e)).toList() as M;
- }
- if (<UKReportAttendanceRows>[] is M) {
- return data.map<UKReportAttendanceRows>((Map<String, dynamic> e) =>
- UKReportAttendanceRows.fromJson(e)).toList() as M;
- }
- if (<UKReportLabourEntity>[] is M) {
- return data.map<UKReportLabourEntity>((Map<String, dynamic> e) =>
- UKReportLabourEntity.fromJson(e)).toList() as M;
- }
- if (<UKReportLabourRows>[] is M) {
- return data.map<UKReportLabourRows>((Map<String, dynamic> e) =>
- UKReportLabourRows.fromJson(e)).toList() as M;
- }
- if (<UKReportWorkingHoursEntity>[] is M) {
- return data.map<UKReportWorkingHoursEntity>((Map<String, dynamic> e) =>
- UKReportWorkingHoursEntity.fromJson(e)).toList() as M;
- }
- if (<UKReportWorkingHoursRows>[] is M) {
- return data.map<UKReportWorkingHoursRows>((Map<String, dynamic> e) =>
- UKReportWorkingHoursRows.fromJson(e)).toList() as M;
- }
- if (<UKSecurityAttendanceEntity>[] is M) {
- return data.map<UKSecurityAttendanceEntity>((Map<String, dynamic> e) =>
- UKSecurityAttendanceEntity.fromJson(e)).toList() as M;
- }
- if (<UKSecurityAttendanceRows>[] is M) {
- return data.map<UKSecurityAttendanceRows>((Map<String, dynamic> e) =>
- UKSecurityAttendanceRows.fromJson(e)).toList() as M;
- }
- if (<UKSecurityInOut>[] is M) {
- return data.map<UKSecurityInOut>((Map<String, dynamic> e) =>
- UKSecurityInOut.fromJson(e)).toList() as M;
- }
- if (<UKSecurityAttendanceOptionEntity>[] is M) {
- return data.map<UKSecurityAttendanceOptionEntity>((
- Map<String, dynamic> e) =>
- UKSecurityAttendanceOptionEntity.fromJson(e)).toList() as M;
- }
- if (<UKSecurityAttendanceOptionFilter>[] is M) {
- return data.map<UKSecurityAttendanceOptionFilter>((
- Map<String, dynamic> e) =>
- UKSecurityAttendanceOptionFilter.fromJson(e)).toList() as M;
- }
- if (<UkAttendanceReviewEntity>[] is M) {
- return data.map<UkAttendanceReviewEntity>((Map<String, dynamic> e) =>
- UkAttendanceReviewEntity.fromJson(e)).toList() as M;
- }
- if (<UkAttendanceReviewRows>[] is M) {
- return data.map<UkAttendanceReviewRows>((Map<String, dynamic> e) =>
- UkAttendanceReviewRows.fromJson(e)).toList() as M;
- }
- if (<UkAttendanceReviewRemarkEntity>[] is M) {
- return data.map<UkAttendanceReviewRemarkEntity>((
- Map<String, dynamic> e) => UkAttendanceReviewRemarkEntity.fromJson(e))
- .toList() as M;
- }
- if (<UkJobAppliedReviseAddDetailEntity>[] is M) {
- return data.map<UkJobAppliedReviseAddDetailEntity>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseAddDetailEntity.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseAddDetailApplied>[] is M) {
- return data.map<UkJobAppliedReviseAddDetailApplied>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseAddDetailApplied.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseEditDetailEntity>[] is M) {
- return data.map<UkJobAppliedReviseEditDetailEntity>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseEditDetailEntity.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseEditDetailApplied>[] is M) {
- return data.map<UkJobAppliedReviseEditDetailApplied>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseEditDetailApplied.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseEditDetailRevise>[] is M) {
- return data.map<UkJobAppliedReviseEditDetailRevise>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseEditDetailRevise.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseEditDetailReviseApplied>[] is M) {
- return data.map<UkJobAppliedReviseEditDetailReviseApplied>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseEditDetailReviseApplied.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseInfoEntity>[] is M) {
- return data.map<UkJobAppliedReviseInfoEntity>((Map<String, dynamic> e) =>
- UkJobAppliedReviseInfoEntity.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseInfoRows>[] is M) {
- return data.map<UkJobAppliedReviseInfoRows>((Map<String, dynamic> e) =>
- UkJobAppliedReviseInfoRows.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseLogEntity>[] is M) {
- return data.map<UkJobAppliedReviseLogEntity>((Map<String, dynamic> e) =>
- UkJobAppliedReviseLogEntity.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseLogRecords>[] is M) {
- return data.map<UkJobAppliedReviseLogRecords>((Map<String, dynamic> e) =>
- UkJobAppliedReviseLogRecords.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseLogRecordsContent>[] is M) {
- return data.map<UkJobAppliedReviseLogRecordsContent>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseLogRecordsContent.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseLogRecordsContentReviseHours>[] is M) {
- return data.map<UkJobAppliedReviseLogRecordsContentReviseHours>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseLogRecordsContentReviseHours.fromJson(e))
- .toList() as M;
- }
- if (<UkJobAppliedReviseLogRecordsContentStatus>[] is M) {
- return data.map<UkJobAppliedReviseLogRecordsContentStatus>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseLogRecordsContentStatus.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedReviseLogRecordsContentReason>[] is M) {
- return data.map<UkJobAppliedReviseLogRecordsContentReason>((
- Map<String, dynamic> e) =>
- UkJobAppliedReviseLogRecordsContentReason.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedStaffListEntity>[] is M) {
- return data.map<UkJobAppliedStaffListEntity>((Map<String, dynamic> e) =>
- UkJobAppliedStaffListEntity.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedStaffListRows>[] is M) {
- return data.map<UkJobAppliedStaffListRows>((Map<String, dynamic> e) =>
- UkJobAppliedStaffListRows.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedStaffListRowsSecurityIn>[] is M) {
- return data.map<UkJobAppliedStaffListRowsSecurityIn>((
- Map<String, dynamic> e) =>
- UkJobAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedStaffListRowsSecurityOut>[] is M) {
- return data.map<UkJobAppliedStaffListRowsSecurityOut>((
- Map<String, dynamic> e) =>
- UkJobAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedStaffListRowsWorkIn>[] is M) {
- return data.map<UkJobAppliedStaffListRowsWorkIn>((
- Map<String, dynamic> e) =>
- UkJobAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
- }
- if (<UkJobAppliedStaffListRowsWorkOut>[] is M) {
- return data.map<UkJobAppliedStaffListRowsWorkOut>((
- Map<String, dynamic> e) =>
- UkJobAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
- }
- if (<UkJobListAppliedStaffSearchEntity>[] is M) {
- return data.map<UkJobListAppliedStaffSearchEntity>((
- Map<String, dynamic> e) =>
- UkJobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
- }
- if (<UkJobListAppliedStaffSearchRows>[] is M) {
- return data.map<UkJobListAppliedStaffSearchRows>((
- Map<String, dynamic> e) =>
- UkJobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
- }
- if (<UkJobTemplateDetailBySelectTitleEntity>[] is M) {
- return data.map<UkJobTemplateDetailBySelectTitleEntity>((
- Map<String, dynamic> e) =>
- UkJobTemplateDetailBySelectTitleEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabReqShowTemplateEntity>[] is M) {
- return data.map<UkLabReqShowTemplateEntity>((Map<String, dynamic> e) =>
- UkLabReqShowTemplateEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailEntity>[] is M) {
- return data.map<UkLabourRequestDetailEntity>((Map<String, dynamic> e) =>
- UkLabourRequestDetailEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailCertificateList>[] is M) {
- return data.map<UkLabourRequestDetailCertificateList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailCertificateList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailVehicleList>[] is M) {
- return data.map<UkLabourRequestDetailVehicleList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailVehicleList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailChallenge25List>[] is M) {
- return data.map<UkLabourRequestDetailChallenge25List>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailChallenge25List.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailLocationList>[] is M) {
- return data.map<UkLabourRequestDetailLocationList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailLocationList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailTemplateList>[] is M) {
- return data.map<UkLabourRequestDetailTemplateList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailTemplateList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailDepartmentList>[] is M) {
- return data.map<UkLabourRequestDetailDepartmentList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailDepartmentList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailChargeList>[] is M) {
- return data.map<UkLabourRequestDetailChargeList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailChargeList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestDetailEmploymentList>[] is M) {
- return data.map<UkLabourRequestDetailEmploymentList>((
- Map<String, dynamic> e) =>
- UkLabourRequestDetailEmploymentList.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestPreselectAddstaffListEntity>[] is M) {
- return data.map<UkLabourRequestPreselectAddstaffListEntity>((
- Map<String, dynamic> e) =>
- UkLabourRequestPreselectAddstaffListEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestPreselectAddstaffListRows>[] is M) {
- return data.map<UkLabourRequestPreselectAddstaffListRows>((
- Map<String, dynamic> e) =>
- UkLabourRequestPreselectAddstaffListRows.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestPreselectedListEntity>[] is M) {
- return data.map<UkLabourRequestPreselectedListEntity>((
- Map<String, dynamic> e) =>
- UkLabourRequestPreselectedListEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestPreselectedListRows>[] is M) {
- return data.map<UkLabourRequestPreselectedListRows>((
- Map<String, dynamic> e) =>
- UkLabourRequestPreselectedListRows.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewDetailEntity>[] is M) {
- return data.map<UkLabourRequestReviewDetailEntity>((
- Map<String, dynamic> e) =>
- UkLabourRequestReviewDetailEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewDetailOrder>[] is M) {
- return data.map<UkLabourRequestReviewDetailOrder>((
- Map<String, dynamic> e) =>
- UkLabourRequestReviewDetailOrder.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewDetailOrderRequest>[] is M) {
- return data.map<UkLabourRequestReviewDetailOrderRequest>((
- Map<String, dynamic> e) =>
- UkLabourRequestReviewDetailOrderRequest.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewDetailOrderRecords>[] is M) {
- return data.map<UkLabourRequestReviewDetailOrderRecords>((
- Map<String, dynamic> e) =>
- UkLabourRequestReviewDetailOrderRecords.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewDetailRecords>[] is M) {
- return data.map<UkLabourRequestReviewDetailRecords>((
- Map<String, dynamic> e) =>
- UkLabourRequestReviewDetailRecords.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewListEntity>[] is M) {
- return data.map<UkLabourRequestReviewListEntity>((
- Map<String, dynamic> e) =>
- UkLabourRequestReviewListEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestReviewListRows>[] is M) {
- return data.map<UkLabourRequestReviewListRows>((Map<String, dynamic> e) =>
- UkLabourRequestReviewListRows.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestTableEntity>[] is M) {
- return data.map<UkLabourRequestTableEntity>((Map<String, dynamic> e) =>
- UkLabourRequestTableEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourRequestTableRows>[] is M) {
- return data.map<UkLabourRequestTableRows>((Map<String, dynamic> e) =>
- UkLabourRequestTableRows.fromJson(e)).toList() as M;
- }
- if (<UkLabourReviewStatusEntity>[] is M) {
- return data.map<UkLabourReviewStatusEntity>((Map<String, dynamic> e) =>
- UkLabourReviewStatusEntity.fromJson(e)).toList() as M;
- }
- if (<UkLabourReviewStatusRow>[] is M) {
- return data.map<UkLabourReviewStatusRow>((Map<String, dynamic> e) =>
- UkLabourReviewStatusRow.fromJson(e)).toList() as M;
- }
- if (<UkLabourReviewStatusRecords>[] is M) {
- return data.map<UkLabourReviewStatusRecords>((Map<String, dynamic> e) =>
- UkLabourReviewStatusRecords.fromJson(e)).toList() as M;
- }
- if (<UkReportCasualEntity>[] is M) {
- return data.map<UkReportCasualEntity>((Map<String, dynamic> e) =>
- UkReportCasualEntity.fromJson(e)).toList() as M;
- }
- if (<UkReportCasualRows>[] is M) {
- return data.map<UkReportCasualRows>((Map<String, dynamic> e) =>
- UkReportCasualRows.fromJson(e)).toList() as M;
- }
- if (<UkReportCasualTotal>[] is M) {
- return data.map<UkReportCasualTotal>((Map<String, dynamic> e) =>
- UkReportCasualTotal.fromJson(e)).toList() as M;
- }
- if (<UkReportCasualPayEntity>[] is M) {
- return data.map<UkReportCasualPayEntity>((Map<String, dynamic> e) =>
- UkReportCasualPayEntity.fromJson(e)).toList() as M;
- }
- if (<UkReportCasualPayRows>[] is M) {
- return data.map<UkReportCasualPayRows>((Map<String, dynamic> e) =>
- UkReportCasualPayRows.fromJson(e)).toList() as M;
- }
- if (<UkReportCasualPayTotal>[] is M) {
- return data.map<UkReportCasualPayTotal>((Map<String, dynamic> e) =>
- UkReportCasualPayTotal.fromJson(e)).toList() as M;
- }
- if (<UkReportOutletEntity>[] is M) {
- return data.map<UkReportOutletEntity>((Map<String, dynamic> e) =>
- UkReportOutletEntity.fromJson(e)).toList() as M;
- }
- if (<UkReportOutletRequestList>[] is M) {
- return data.map<UkReportOutletRequestList>((Map<String, dynamic> e) =>
- UkReportOutletRequestList.fromJson(e)).toList() as M;
- }
- if (<UkStaffDetailEntity>[] is M) {
- return data.map<UkStaffDetailEntity>((Map<String, dynamic> e) =>
- UkStaffDetailEntity.fromJson(e)).toList() as M;
- }
- if (<UkStaffDetailCertificates>[] is M) {
- return data.map<UkStaffDetailCertificates>((Map<String, dynamic> e) =>
- UkStaffDetailCertificates.fromJson(e)).toList() as M;
- }
- if (<UkStaffLabourHistoryEntity>[] is M) {
- return data.map<UkStaffLabourHistoryEntity>((Map<String, dynamic> e) =>
- UkStaffLabourHistoryEntity.fromJson(e)).toList() as M;
- }
- if (<UkStaffLabourHistoryRows>[] is M) {
- return data.map<UkStaffLabourHistoryRows>((Map<String, dynamic> e) =>
- UkStaffLabourHistoryRows.fromJson(e)).toList() as M;
- }
- if (<UkStaffLabourHistoryRowsSecurityIn>[] is M) {
- return data.map<UkStaffLabourHistoryRowsSecurityIn>((
- Map<String, dynamic> e) =>
- UkStaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
- }
- if (<UkStaffLabourHistoryRowsSecurityOut>[] is M) {
- return data.map<UkStaffLabourHistoryRowsSecurityOut>((
- Map<String, dynamic> e) =>
- UkStaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
- }
- if (<UkStaffLabourHistoryRowsWorkIn>[] is M) {
- return data.map<UkStaffLabourHistoryRowsWorkIn>((
- Map<String, dynamic> e) => UkStaffLabourHistoryRowsWorkIn.fromJson(e))
- .toList() as M;
- }
- if (<UkStaffLabourHistoryRowsWorkOut>[] is M) {
- return data.map<UkStaffLabourHistoryRowsWorkOut>((
- Map<String, dynamic> e) =>
- UkStaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailEntity>[] is M) {
- return data.map<UkTemplateDetailEntity>((Map<String, dynamic> e) =>
- UkTemplateDetailEntity.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailRow>[] is M) {
- return data.map<UkTemplateDetailRow>((Map<String, dynamic> e) =>
- UkTemplateDetailRow.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailTitleList>[] is M) {
- return data.map<UkTemplateDetailTitleList>((Map<String, dynamic> e) =>
- UkTemplateDetailTitleList.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailCertificateList>[] is M) {
- return data.map<UkTemplateDetailCertificateList>((
- Map<String, dynamic> e) =>
- UkTemplateDetailCertificateList.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailVehicleList>[] is M) {
- return data.map<UkTemplateDetailVehicleList>((Map<String, dynamic> e) =>
- UkTemplateDetailVehicleList.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailChallenge25List>[] is M) {
- return data.map<UkTemplateDetailChallenge25List>((
- Map<String, dynamic> e) =>
- UkTemplateDetailChallenge25List.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailIndexEntity>[] is M) {
- return data.map<UkTemplateDetailIndexEntity>((Map<String, dynamic> e) =>
- UkTemplateDetailIndexEntity.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailIndexCertificateList>[] is M) {
- return data.map<UkTemplateDetailIndexCertificateList>((
- Map<String, dynamic> e) =>
- UkTemplateDetailIndexCertificateList.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailIndexVehicleList>[] is M) {
- return data.map<UkTemplateDetailIndexVehicleList>((
- Map<String, dynamic> e) =>
- UkTemplateDetailIndexVehicleList.fromJson(e)).toList() as M;
- }
- if (<UkTemplateDetailIndexChallenge25List>[] is M) {
- return data.map<UkTemplateDetailIndexChallenge25List>((
- Map<String, dynamic> e) =>
- UkTemplateDetailIndexChallenge25List.fromJson(e)).toList() as M;
- }
- if (<UkTemplateTableEntity>[] is M) {
- return data.map<UkTemplateTableEntity>((Map<String, dynamic> e) =>
- UkTemplateTableEntity.fromJson(e)).toList() as M;
- }
- if (<UkTemplateTableRows>[] is M) {
- return data.map<UkTemplateTableRows>((Map<String, dynamic> e) =>
- UkTemplateTableRows.fromJson(e)).toList() as M;
- }
- if (<UkTemplateTitleOptionEntity>[] is M) {
- return data.map<UkTemplateTitleOptionEntity>((Map<String, dynamic> e) =>
- UkTemplateTitleOptionEntity.fromJson(e)).toList() as M;
- }
- if (<ServerTime>[] is M) {
- return data.map<ServerTime>((Map<String, dynamic> e) =>
- ServerTime.fromJson(e)).toList() as M;
- }
- debugPrint("$M not found");
- return null;
- }
- static M? fromJsonAsT<M>(dynamic json) {
- if (json is M) {
- return json;
- }
- if (json is List) {
- return _getListChildType<M>(
- json.map((dynamic e) => e as Map<String, dynamic>).toList());
- } else {
- return jsonConvert.convert<M>(json);
- }
- }
- }
- class JsonConvertClassCollection {
- Map<String, JsonConvertFunction> convertFuncMap = {
- (AddEditReviseViewSGEntity).toString(): AddEditReviseViewSGEntity.fromJson,
- (AgencyDetailEntity).toString(): AgencyDetailEntity.fromJson,
- (AgencyDetailPivot).toString(): AgencyDetailPivot.fromJson,
- (AgencyOptionEntity).toString(): AgencyOptionEntity.fromJson,
- (AgencyTableEntity).toString(): AgencyTableEntity.fromJson,
- (AgencyTableRows).toString(): AgencyTableRows.fromJson,
- (AttendanceEntity).toString(): AttendanceEntity.fromJson,
- (AttendanceList).toString(): AttendanceList.fromJson,
- (AttendanceReviewEntity).toString(): AttendanceReviewEntity.fromJson,
- (AttendanceReviewRows).toString(): AttendanceReviewRows.fromJson,
- (CheckSuccessEntity).toString(): CheckSuccessEntity.fromJson,
- (ContractDetailEntity).toString(): ContractDetailEntity.fromJson,
- (ContractDetailRow).toString(): ContractDetailRow.fromJson,
- (ContractOptionEntity).toString(): ContractOptionEntity.fromJson,
- (ContractPositionAddOptionEntity)
- .toString(): ContractPositionAddOptionEntity.fromJson,
- (ContractPositionOptionEntity).toString(): ContractPositionOptionEntity
- .fromJson,
- (ContractPositionRateDetailEntity)
- .toString(): ContractPositionRateDetailEntity.fromJson,
- (ContractPositionRateSpecificOptionEntity)
- .toString(): ContractPositionRateSpecificOptionEntity.fromJson,
- (ContractPositionRateTableEntity)
- .toString(): ContractPositionRateTableEntity.fromJson,
- (ContractPositionRateTableRows).toString(): ContractPositionRateTableRows
- .fromJson,
- (ContractPositionTableEntity).toString(): ContractPositionTableEntity
- .fromJson,
- (ContractPositionTableRows).toString(): ContractPositionTableRows.fromJson,
- (ContractTableEntity).toString(): ContractTableEntity.fromJson,
- (ContractTableRows).toString(): ContractTableRows.fromJson,
- (DeviceListEntity).toString(): DeviceListEntity.fromJson,
- (DeviceListRows).toString(): DeviceListRows.fromJson,
- (FianceReportEntity).toString(): FianceReportEntity.fromJson,
- (FianceReportRateList).toString(): FianceReportRateList.fromJson,
- (HotelInfoEntity).toString(): HotelInfoEntity.fromJson,
- (HotelInfoMenus).toString(): HotelInfoMenus.fromJson,
- (HotelInfoMenusChildren).toString(): HotelInfoMenusChildren.fromJson,
- (IdNameEntity).toString(): IdNameEntity.fromJson,
- (IndexOptionEntity).toString(): IndexOptionEntity.fromJson,
- (JobAppliedEditIndexSGEntity).toString(): JobAppliedEditIndexSGEntity
- .fromJson,
- (JobAppliedEditIndexSGStatusList)
- .toString(): JobAppliedEditIndexSGStatusList.fromJson,
- (JobAppliedIndexSGEntity).toString(): JobAppliedIndexSGEntity.fromJson,
- (JobAppliedIndexSGStatusList).toString(): JobAppliedIndexSGStatusList
- .fromJson,
- (JobAppliedListSGEntity).toString(): JobAppliedListSGEntity.fromJson,
- (JobAppliedListSGRows).toString(): JobAppliedListSGRows.fromJson,
- (JobAppliedListSGRowsCheck).toString(): JobAppliedListSGRowsCheck.fromJson,
- (JobAppliedListSGRowsStatusList).toString(): JobAppliedListSGRowsStatusList
- .fromJson,
- (JobAppliedRemarkViewSGEntity).toString(): JobAppliedRemarkViewSGEntity
- .fromJson,
- (JobAppliedStaffSGEntity).toString(): JobAppliedStaffSGEntity.fromJson,
- (JobAppliedStaffSGRows).toString(): JobAppliedStaffSGRows.fromJson,
- (JobListAddStaffEntity).toString(): JobListAddStaffEntity.fromJson,
- (JobListAddStaffResultList).toString(): JobListAddStaffResultList.fromJson,
- (JobListAppliedEditEntity).toString(): JobListAppliedEditEntity.fromJson,
- (JobListAppliedEditReasonList).toString(): JobListAppliedEditReasonList
- .fromJson,
- (JobListAppliedInfoEntity).toString(): JobListAppliedInfoEntity.fromJson,
- (JobListAppliedStaffListEntity).toString(): JobListAppliedStaffListEntity
- .fromJson,
- (JobListAppliedStaffListRows).toString(): JobListAppliedStaffListRows
- .fromJson,
- (JobListAppliedStaffListRowsSecurityIn)
- .toString(): JobListAppliedStaffListRowsSecurityIn.fromJson,
- (JobListAppliedStaffListRowsSecurityOut)
- .toString(): JobListAppliedStaffListRowsSecurityOut.fromJson,
- (JobListAppliedStaffListRowsWorkIn)
- .toString(): JobListAppliedStaffListRowsWorkIn.fromJson,
- (JobListAppliedStaffListRowsWorkOut)
- .toString(): JobListAppliedStaffListRowsWorkOut.fromJson,
- (JobListAppliedStaffSearchEntity)
- .toString(): JobListAppliedStaffSearchEntity.fromJson,
- (JobListAppliedStaffSearchRows).toString(): JobListAppliedStaffSearchRows
- .fromJson,
- (JobListAppliedWorkFlowEntity).toString(): JobListAppliedWorkFlowEntity
- .fromJson,
- (JobListAppliedWorkFlowRecords).toString(): JobListAppliedWorkFlowRecords
- .fromJson,
- (JobListDetailEntity).toString(): JobListDetailEntity.fromJson,
- (JobListDetailDepartmentList).toString(): JobListDetailDepartmentList
- .fromJson,
- (JobListERDetailEntity).toString(): JobListERDetailEntity.fromJson,
- (JobListERDetailJob).toString(): JobListERDetailJob.fromJson,
- (JobListEROptionEntity).toString(): JobListEROptionEntity.fromJson,
- (JobListEROptionFilter).toString(): JobListEROptionFilter.fromJson,
- (JobListEditIndexSGEntity).toString(): JobListEditIndexSGEntity.fromJson,
- (JobListEditIndexOption).toString(): JobListEditIndexOption.fromJson,
- (JobListEntity).toString(): JobListEntity.fromJson,
- (JobListRows).toString(): JobListRows.fromJson,
- (JobListIndexEntity).toString(): JobListIndexEntity.fromJson,
- (JobListIndexDepartmentList).toString(): JobListIndexDepartmentList
- .fromJson,
- (JobListIndexStatusList).toString(): JobListIndexStatusList.fromJson,
- (JobListIndexSGEntity).toString(): JobListIndexSGEntity.fromJson,
- (JobListIndexSGOption).toString(): JobListIndexSGOption.fromJson,
- (JobListRemarkViewEntity).toString(): JobListRemarkViewEntity.fromJson,
- (JobListSGEntity).toString(): JobListSGEntity.fromJson,
- (JobListSGRows).toString(): JobListSGRows.fromJson,
- (JobTemplateEditIndexEntity).toString(): JobTemplateEditIndexEntity
- .fromJson,
- (JobTemplateEditIndexAgeList).toString(): JobTemplateEditIndexAgeList
- .fromJson,
- (JobTemplateEditIndexSexList).toString(): JobTemplateEditIndexSexList
- .fromJson,
- (JobTemplateEditIndexLanguageList)
- .toString(): JobTemplateEditIndexLanguageList.fromJson,
- (JobTemplateSGEntity).toString(): JobTemplateSGEntity.fromJson,
- (JobTemplateSGRows).toString(): JobTemplateSGRows.fromJson,
- (JobTitleEditIndexEntity).toString(): JobTitleEditIndexEntity.fromJson,
- (JobTitleEditIndexTemplate).toString(): JobTitleEditIndexTemplate.fromJson,
- (JobTitleSGEntity).toString(): JobTitleSGEntity.fromJson,
- (JobTitleSGRows).toString(): JobTitleSGRows.fromJson,
- (LabourListEREntity).toString(): LabourListEREntity.fromJson,
- (LabourListERRows).toString(): LabourListERRows.fromJson,
- (LabourReportEntity).toString(): LabourReportEntity.fromJson,
- (LabourReportRows).toString(): LabourReportRows.fromJson,
- (LabourReportTotal).toString(): LabourReportTotal.fromJson,
- (LabourReportVNEntity).toString(): LabourReportVNEntity.fromJson,
- (LabourReportVNRows).toString(): LabourReportVNRows.fromJson,
- (LabourReportVNTotal).toString(): LabourReportVNTotal.fromJson,
- (LabourRequestEREntity).toString(): LabourRequestEREntity.fromJson,
- (LabourRequestERCountList).toString(): LabourRequestERCountList.fromJson,
- (LabourRequestERSourceList).toString(): LabourRequestERSourceList.fromJson,
- (LabourRequestERSourceListRequestList)
- .toString(): LabourRequestERSourceListRequestList.fromJson,
- (LabourRequestEROptionEntity).toString(): LabourRequestEROptionEntity
- .fromJson,
- (LabourRequestEditIndexEntity).toString(): LabourRequestEditIndexEntity
- .fromJson,
- (LabourRequestEditIndexTemplateList)
- .toString(): LabourRequestEditIndexTemplateList.fromJson,
- (LabourRequestEditIndexDepartmentList)
- .toString(): LabourRequestEditIndexDepartmentList.fromJson,
- (LabourRequestIndexEntity).toString(): LabourRequestIndexEntity.fromJson,
- (LabourRequestIndexDepartmentList)
- .toString(): LabourRequestIndexDepartmentList.fromJson,
- (LabourRequestIndexStatusList).toString(): LabourRequestIndexStatusList
- .fromJson,
- (LabourRequestListEntity).toString(): LabourRequestListEntity.fromJson,
- (LabourRequestListRows).toString(): LabourRequestListRows.fromJson,
- (LabourRequestWorkFlowEntity).toString(): LabourRequestWorkFlowEntity
- .fromJson,
- (LabourRequestWorkFlowRecords).toString(): LabourRequestWorkFlowRecords
- .fromJson,
- (LabourReviewListEntity).toString(): LabourReviewListEntity.fromJson,
- (LabourReviewListRows).toString(): LabourReviewListRows.fromJson,
- (LabourReviewStatusEntity).toString(): LabourReviewStatusEntity.fromJson,
- (LabourReviewStatusRecords).toString(): LabourReviewStatusRecords.fromJson,
- (PositionTableEntity).toString(): PositionTableEntity.fromJson,
- (PositionTableRows).toString(): PositionTableRows.fromJson,
- (ReviseIndexSGEntity).toString(): ReviseIndexSGEntity.fromJson,
- (ReviseIndexSGStatusList).toString(): ReviseIndexSGStatusList.fromJson,
- (ReviseListSGEntity).toString(): ReviseListSGEntity.fromJson,
- (ReviseListSGRows).toString(): ReviseListSGRows.fromJson,
- (ReviseLogSGEntity).toString(): ReviseLogSGEntity.fromJson,
- (ReviseLogSGRecords).toString(): ReviseLogSGRecords.fromJson,
- (ReviseLogSGRecordsContent).toString(): ReviseLogSGRecordsContent.fromJson,
- (ReviseLogSGRecordsOption).toString(): ReviseLogSGRecordsOption.fromJson,
- (SGAttendanceReviewOptionEntity).toString(): SGAttendanceReviewOptionEntity
- .fromJson,
- (SGAttendanceReviewTableEntity).toString(): SGAttendanceReviewTableEntity
- .fromJson,
- (SGAttendanceReviewTableRows).toString(): SGAttendanceReviewTableRows
- .fromJson,
- (SGAttendanceReviewTableRowsCheck)
- .toString(): SGAttendanceReviewTableRowsCheck.fromJson,
- (SGAttendanceReviewWorkflowEntity)
- .toString(): SGAttendanceReviewWorkflowEntity.fromJson,
- (SGAttendanceReviewWorkflowRow).toString(): SGAttendanceReviewWorkflowRow
- .fromJson,
- (SGAttendanceReviewWorkflowRecords)
- .toString(): SGAttendanceReviewWorkflowRecords.fromJson,
- (SGDashboardEntity).toString(): SGDashboardEntity.fromJson,
- (SGDashboardAgencyList).toString(): SGDashboardAgencyList.fromJson,
- (SGDashboardAgencyListDays).toString(): SGDashboardAgencyListDays.fromJson,
- (SGLabourRequestAddOptionEntity).toString(): SGLabourRequestAddOptionEntity
- .fromJson,
- (LabourRequestAgencyEntity).toString(): LabourRequestAgencyEntity.fromJson,
- (SGLabourRequestDetailEntity).toString(): SGLabourRequestDetailEntity
- .fromJson,
- (SGLabourRequestDetailLabReq).toString(): SGLabourRequestDetailLabReq
- .fromJson,
- (SGLabourRequestOptionEntity).toString(): SGLabourRequestOptionEntity
- .fromJson,
- (SGLabourRequestTableEntity).toString(): SGLabourRequestTableEntity
- .fromJson,
- (SGLabourRequestTableRows).toString(): SGLabourRequestTableRows.fromJson,
- (SGLabourRequestWorlFlowEntity).toString(): SGLabourRequestWorlFlowEntity
- .fromJson,
- (SGLabourRequestWorlFlowRow).toString(): SGLabourRequestWorlFlowRow
- .fromJson,
- (SGLabourRequestWorlFlowRecords).toString(): SGLabourRequestWorlFlowRecords
- .fromJson,
- (SGLabourReviewOptionEntity).toString(): SGLabourReviewOptionEntity
- .fromJson,
- (SGLabourReviewTableEntity).toString(): SGLabourReviewTableEntity.fromJson,
- (SGLabourReviewTableRows).toString(): SGLabourReviewTableRows.fromJson,
- (SignInSignOutEntity).toString(): SignInSignOutEntity.fromJson,
- (SignInSignOutRows).toString(): SignInSignOutRows.fromJson,
- (StaffDetailEntity).toString(): StaffDetailEntity.fromJson,
- (StaffDetailSGEntity).toString(): StaffDetailSGEntity.fromJson,
- (StaffDetailSGReviews).toString(): StaffDetailSGReviews.fromJson,
- (StaffDetailSGReviewsReviews).toString(): StaffDetailSGReviewsReviews
- .fromJson,
- (StaffJobHistorySGEntity).toString(): StaffJobHistorySGEntity.fromJson,
- (StaffJobHistorySGRows).toString(): StaffJobHistorySGRows.fromJson,
- (StaffLabourHistoryEntity).toString(): StaffLabourHistoryEntity.fromJson,
- (StaffLabourHistoryRows).toString(): StaffLabourHistoryRows.fromJson,
- (StaffLabourHistoryRowsSecurityIn)
- .toString(): StaffLabourHistoryRowsSecurityIn.fromJson,
- (StaffLabourHistoryRowsSecurityOut)
- .toString(): StaffLabourHistoryRowsSecurityOut.fromJson,
- (StaffLabourHistoryRowsWorkIn).toString(): StaffLabourHistoryRowsWorkIn
- .fromJson,
- (StaffLabourHistoryRowsWorkOut).toString(): StaffLabourHistoryRowsWorkOut
- .fromJson,
- (StaffRemarkHistoryEntity).toString(): StaffRemarkHistoryEntity.fromJson,
- (StaffRemarkHistoryRows).toString(): StaffRemarkHistoryRows.fromJson,
- (StaffReportVNEntity).toString(): StaffReportVNEntity.fromJson,
- (StaffRequestReportEntity).toString(): StaffRequestReportEntity.fromJson,
- (StaffReviewHistorySGEntity).toString(): StaffReviewHistorySGEntity
- .fromJson,
- (StaffReviewHistorySGReviews).toString(): StaffReviewHistorySGReviews
- .fromJson,
- (SwitchProjectEntity).toString(): SwitchProjectEntity.fromJson,
- (SwitchProjectUserList).toString(): SwitchProjectUserList.fromJson,
- (THAppliedEditEntity).toString(): THAppliedEditEntity.fromJson,
- (THAppliedEditApplied).toString(): THAppliedEditApplied.fromJson,
- (THAppliedEmployeeEntity).toString(): THAppliedEmployeeEntity.fromJson,
- (THAppliedEmployeeRows).toString(): THAppliedEmployeeRows.fromJson,
- (THAppliedIndexEntity).toString(): THAppliedIndexEntity.fromJson,
- (THAppliedIndexJob).toString(): THAppliedIndexJob.fromJson,
- (THAppliedTableEntity).toString(): THAppliedTableEntity.fromJson,
- (THAppliedTableRows).toString(): THAppliedTableRows.fromJson,
- (THAppliedTableCheckInOut).toString(): THAppliedTableCheckInOut.fromJson,
- (THEmployeeDetailEntity).toString(): THEmployeeDetailEntity.fromJson,
- (THEmployeeDetailStaff).toString(): THEmployeeDetailStaff.fromJson,
- (THEmployeeDetailReviews).toString(): THEmployeeDetailReviews.fromJson,
- (THEmployeeRemarksEntity).toString(): THEmployeeRemarksEntity.fromJson,
- (THEmployeeRemarksReviews).toString(): THEmployeeRemarksReviews.fromJson,
- (THOAAttachmentEntity).toString(): THOAAttachmentEntity.fromJson,
- (THOAAttachmentRows).toString(): THOAAttachmentRows.fromJson,
- (THOALabourDetailEntity).toString(): THOALabourDetailEntity.fromJson,
- (THOALabourDetailLabourRequest).toString(): THOALabourDetailLabourRequest
- .fromJson,
- (THOALabourReviewTableEntity).toString(): THOALabourReviewTableEntity
- .fromJson,
- (THOALabourReviewTableRows).toString(): THOALabourReviewTableRows.fromJson,
- (THOALabourTableEntity).toString(): THOALabourTableEntity.fromJson,
- (THOALabourTableRows).toString(): THOALabourTableRows.fromJson,
- (THUploadFileEntity).toString(): THUploadFileEntity.fromJson,
- (UKAttendanceEntity).toString(): UKAttendanceEntity.fromJson,
- (UKAttendanceRows).toString(): UKAttendanceRows.fromJson,
- (UKAttendanceInOut).toString(): UKAttendanceInOut.fromJson,
- (UKReportAttendanceEntity).toString(): UKReportAttendanceEntity.fromJson,
- (UKReportAttendanceRows).toString(): UKReportAttendanceRows.fromJson,
- (UKReportLabourEntity).toString(): UKReportLabourEntity.fromJson,
- (UKReportLabourRows).toString(): UKReportLabourRows.fromJson,
- (UKReportWorkingHoursEntity).toString(): UKReportWorkingHoursEntity
- .fromJson,
- (UKReportWorkingHoursRows).toString(): UKReportWorkingHoursRows.fromJson,
- (UKSecurityAttendanceEntity).toString(): UKSecurityAttendanceEntity
- .fromJson,
- (UKSecurityAttendanceRows).toString(): UKSecurityAttendanceRows.fromJson,
- (UKSecurityInOut).toString(): UKSecurityInOut.fromJson,
- (UKSecurityAttendanceOptionEntity)
- .toString(): UKSecurityAttendanceOptionEntity.fromJson,
- (UKSecurityAttendanceOptionFilter)
- .toString(): UKSecurityAttendanceOptionFilter.fromJson,
- (UkAttendanceReviewEntity).toString(): UkAttendanceReviewEntity.fromJson,
- (UkAttendanceReviewRows).toString(): UkAttendanceReviewRows.fromJson,
- (UkAttendanceReviewRemarkEntity).toString(): UkAttendanceReviewRemarkEntity
- .fromJson,
- (UkJobAppliedReviseAddDetailEntity)
- .toString(): UkJobAppliedReviseAddDetailEntity.fromJson,
- (UkJobAppliedReviseAddDetailApplied)
- .toString(): UkJobAppliedReviseAddDetailApplied.fromJson,
- (UkJobAppliedReviseEditDetailEntity)
- .toString(): UkJobAppliedReviseEditDetailEntity.fromJson,
- (UkJobAppliedReviseEditDetailApplied)
- .toString(): UkJobAppliedReviseEditDetailApplied.fromJson,
- (UkJobAppliedReviseEditDetailRevise)
- .toString(): UkJobAppliedReviseEditDetailRevise.fromJson,
- (UkJobAppliedReviseEditDetailReviseApplied)
- .toString(): UkJobAppliedReviseEditDetailReviseApplied.fromJson,
- (UkJobAppliedReviseInfoEntity).toString(): UkJobAppliedReviseInfoEntity
- .fromJson,
- (UkJobAppliedReviseInfoRows).toString(): UkJobAppliedReviseInfoRows
- .fromJson,
- (UkJobAppliedReviseLogEntity).toString(): UkJobAppliedReviseLogEntity
- .fromJson,
- (UkJobAppliedReviseLogRecords).toString(): UkJobAppliedReviseLogRecords
- .fromJson,
- (UkJobAppliedReviseLogRecordsContent)
- .toString(): UkJobAppliedReviseLogRecordsContent.fromJson,
- (UkJobAppliedReviseLogRecordsContentReviseHours)
- .toString(): UkJobAppliedReviseLogRecordsContentReviseHours.fromJson,
- (UkJobAppliedReviseLogRecordsContentStatus)
- .toString(): UkJobAppliedReviseLogRecordsContentStatus.fromJson,
- (UkJobAppliedReviseLogRecordsContentReason)
- .toString(): UkJobAppliedReviseLogRecordsContentReason.fromJson,
- (UkJobAppliedStaffListEntity).toString(): UkJobAppliedStaffListEntity
- .fromJson,
- (UkJobAppliedStaffListRows).toString(): UkJobAppliedStaffListRows.fromJson,
- (UkJobAppliedStaffListRowsSecurityIn)
- .toString(): UkJobAppliedStaffListRowsSecurityIn.fromJson,
- (UkJobAppliedStaffListRowsSecurityOut)
- .toString(): UkJobAppliedStaffListRowsSecurityOut.fromJson,
- (UkJobAppliedStaffListRowsWorkIn)
- .toString(): UkJobAppliedStaffListRowsWorkIn.fromJson,
- (UkJobAppliedStaffListRowsWorkOut)
- .toString(): UkJobAppliedStaffListRowsWorkOut.fromJson,
- (UkJobListAppliedStaffSearchEntity)
- .toString(): UkJobListAppliedStaffSearchEntity.fromJson,
- (UkJobListAppliedStaffSearchRows)
- .toString(): UkJobListAppliedStaffSearchRows.fromJson,
- (UkJobTemplateDetailBySelectTitleEntity)
- .toString(): UkJobTemplateDetailBySelectTitleEntity.fromJson,
- (UkLabReqShowTemplateEntity).toString(): UkLabReqShowTemplateEntity
- .fromJson,
- (UkLabourRequestDetailEntity).toString(): UkLabourRequestDetailEntity
- .fromJson,
- (UkLabourRequestDetailCertificateList)
- .toString(): UkLabourRequestDetailCertificateList.fromJson,
- (UkLabourRequestDetailVehicleList)
- .toString(): UkLabourRequestDetailVehicleList.fromJson,
- (UkLabourRequestDetailChallenge25List)
- .toString(): UkLabourRequestDetailChallenge25List.fromJson,
- (UkLabourRequestDetailLocationList)
- .toString(): UkLabourRequestDetailLocationList.fromJson,
- (UkLabourRequestDetailTemplateList)
- .toString(): UkLabourRequestDetailTemplateList.fromJson,
- (UkLabourRequestDetailDepartmentList)
- .toString(): UkLabourRequestDetailDepartmentList.fromJson,
- (UkLabourRequestDetailChargeList)
- .toString(): UkLabourRequestDetailChargeList.fromJson,
- (UkLabourRequestDetailEmploymentList)
- .toString(): UkLabourRequestDetailEmploymentList.fromJson,
- (UkLabourRequestPreselectAddstaffListEntity)
- .toString(): UkLabourRequestPreselectAddstaffListEntity.fromJson,
- (UkLabourRequestPreselectAddstaffListRows)
- .toString(): UkLabourRequestPreselectAddstaffListRows.fromJson,
- (UkLabourRequestPreselectedListEntity)
- .toString(): UkLabourRequestPreselectedListEntity.fromJson,
- (UkLabourRequestPreselectedListRows)
- .toString(): UkLabourRequestPreselectedListRows.fromJson,
- (UkLabourRequestReviewDetailEntity)
- .toString(): UkLabourRequestReviewDetailEntity.fromJson,
- (UkLabourRequestReviewDetailOrder)
- .toString(): UkLabourRequestReviewDetailOrder.fromJson,
- (UkLabourRequestReviewDetailOrderRequest)
- .toString(): UkLabourRequestReviewDetailOrderRequest.fromJson,
- (UkLabourRequestReviewDetailOrderRecords)
- .toString(): UkLabourRequestReviewDetailOrderRecords.fromJson,
- (UkLabourRequestReviewDetailRecords)
- .toString(): UkLabourRequestReviewDetailRecords.fromJson,
- (UkLabourRequestReviewListEntity)
- .toString(): UkLabourRequestReviewListEntity.fromJson,
- (UkLabourRequestReviewListRows).toString(): UkLabourRequestReviewListRows
- .fromJson,
- (UkLabourRequestTableEntity).toString(): UkLabourRequestTableEntity
- .fromJson,
- (UkLabourRequestTableRows).toString(): UkLabourRequestTableRows.fromJson,
- (UkLabourReviewStatusEntity).toString(): UkLabourReviewStatusEntity
- .fromJson,
- (UkLabourReviewStatusRow).toString(): UkLabourReviewStatusRow.fromJson,
- (UkLabourReviewStatusRecords).toString(): UkLabourReviewStatusRecords
- .fromJson,
- (UkReportCasualEntity).toString(): UkReportCasualEntity.fromJson,
- (UkReportCasualRows).toString(): UkReportCasualRows.fromJson,
- (UkReportCasualTotal).toString(): UkReportCasualTotal.fromJson,
- (UkReportCasualPayEntity).toString(): UkReportCasualPayEntity.fromJson,
- (UkReportCasualPayRows).toString(): UkReportCasualPayRows.fromJson,
- (UkReportCasualPayTotal).toString(): UkReportCasualPayTotal.fromJson,
- (UkReportOutletEntity).toString(): UkReportOutletEntity.fromJson,
- (UkReportOutletRequestList).toString(): UkReportOutletRequestList.fromJson,
- (UkStaffDetailEntity).toString(): UkStaffDetailEntity.fromJson,
- (UkStaffDetailCertificates).toString(): UkStaffDetailCertificates.fromJson,
- (UkStaffLabourHistoryEntity).toString(): UkStaffLabourHistoryEntity
- .fromJson,
- (UkStaffLabourHistoryRows).toString(): UkStaffLabourHistoryRows.fromJson,
- (UkStaffLabourHistoryRowsSecurityIn)
- .toString(): UkStaffLabourHistoryRowsSecurityIn.fromJson,
- (UkStaffLabourHistoryRowsSecurityOut)
- .toString(): UkStaffLabourHistoryRowsSecurityOut.fromJson,
- (UkStaffLabourHistoryRowsWorkIn).toString(): UkStaffLabourHistoryRowsWorkIn
- .fromJson,
- (UkStaffLabourHistoryRowsWorkOut)
- .toString(): UkStaffLabourHistoryRowsWorkOut.fromJson,
- (UkTemplateDetailEntity).toString(): UkTemplateDetailEntity.fromJson,
- (UkTemplateDetailRow).toString(): UkTemplateDetailRow.fromJson,
- (UkTemplateDetailTitleList).toString(): UkTemplateDetailTitleList.fromJson,
- (UkTemplateDetailCertificateList)
- .toString(): UkTemplateDetailCertificateList.fromJson,
- (UkTemplateDetailVehicleList).toString(): UkTemplateDetailVehicleList
- .fromJson,
- (UkTemplateDetailChallenge25List)
- .toString(): UkTemplateDetailChallenge25List.fromJson,
- (UkTemplateDetailIndexEntity).toString(): UkTemplateDetailIndexEntity
- .fromJson,
- (UkTemplateDetailIndexCertificateList)
- .toString(): UkTemplateDetailIndexCertificateList.fromJson,
- (UkTemplateDetailIndexVehicleList)
- .toString(): UkTemplateDetailIndexVehicleList.fromJson,
- (UkTemplateDetailIndexChallenge25List)
- .toString(): UkTemplateDetailIndexChallenge25List.fromJson,
- (UkTemplateTableEntity).toString(): UkTemplateTableEntity.fromJson,
- (UkTemplateTableRows).toString(): UkTemplateTableRows.fromJson,
- (UkTemplateTitleOptionEntity).toString(): UkTemplateTitleOptionEntity
- .fromJson,
- (ServerTime).toString(): ServerTime.fromJson,
- };
- bool containsKey(String type) {
- return convertFuncMap.containsKey(type);
- }
- JsonConvertFunction? operator [](String key) {
- return convertFuncMap[key];
- }
- }
|