json_convert_content.dart 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069
  1. // ignore_for_file: non_constant_identifier_names
  2. // ignore_for_file: camel_case_types
  3. // ignore_for_file: prefer_single_quotes
  4. // This file is automatically generated. DO NOT EDIT, all your changes would be lost.
  5. import 'package:flutter/material.dart' show debugPrint;
  6. import 'package:domain/entity/auth_login_entity.dart';
  7. import 'package:domain/entity/captcha_img_entity.dart';
  8. import 'package:domain/entity/facility_book_entity.dart';
  9. import 'package:domain/entity/facility_index_entity.dart';
  10. import 'package:domain/entity/facility_page_entity.dart';
  11. import 'package:domain/entity/feedback_detail_entity.dart';
  12. import 'package:domain/entity/feedback_list_entity.dart';
  13. import 'package:domain/entity/form_content_entity.dart';
  14. import 'package:domain/entity/form_detail_entity.dart';
  15. import 'package:domain/entity/form_list_entity.dart';
  16. import 'package:domain/entity/form_option_entity.dart';
  17. import 'package:domain/entity/form_submitted_entity.dart';
  18. import 'package:domain/entity/form_submitted_page_entity.dart';
  19. import 'package:domain/entity/garage_sale_history_entity.dart';
  20. import 'package:domain/entity/garage_sale_rent_detail_entity.dart';
  21. import 'package:domain/entity/garage_sale_rent_entity.dart';
  22. import 'package:domain/entity/home_list_entity.dart';
  23. import 'package:domain/entity/id_name_entity.dart';
  24. import 'package:domain/entity/latest_news_detail_entity.dart';
  25. import 'package:domain/entity/latest_news_page_entity.dart';
  26. import 'package:domain/entity/myfollowing_list_entity.dart';
  27. import 'package:domain/entity/myposts_newsfeed_entity.dart';
  28. import 'package:domain/entity/myposts_sale_rent_entity.dart';
  29. import 'package:domain/entity/newsfeed_comment_publish_entity.dart';
  30. import 'package:domain/entity/newsfeed_detail_entity.dart';
  31. import 'package:domain/entity/newsfeed_following_entity.dart';
  32. import 'package:domain/entity/newsfeed_foryou_entity.dart';
  33. import 'package:domain/entity/newsfeed_news_entity.dart';
  34. import 'package:domain/entity/notice_board_announ_detail_entity.dart';
  35. import 'package:domain/entity/notice_board_announ_entity.dart';
  36. import 'package:domain/entity/notice_board_documents_entity.dart';
  37. import 'package:domain/entity/notice_board_event_detail_entity.dart';
  38. import 'package:domain/entity/notice_board_event_entity.dart';
  39. import 'package:domain/entity/paid_service_detail_entity.dart';
  40. import 'package:domain/entity/paid_service_entity.dart';
  41. import 'package:domain/entity/paid_service_pay_success_info_entity.dart';
  42. import 'package:domain/entity/payment_page_entity.dart';
  43. import 'package:domain/entity/property_news_detail_entity.dart';
  44. import 'package:domain/entity/property_news_entity.dart';
  45. import 'package:domain/entity/property_sale_rent_entity.dart';
  46. import 'package:domain/entity/repair_service_entity.dart';
  47. import 'package:domain/entity/rewards_active_detail_entity.dart';
  48. import 'package:domain/entity/rewards_buy_entity.dart';
  49. import 'package:domain/entity/rewards_category_entity.dart';
  50. import 'package:domain/entity/rewards_detail_entity.dart';
  51. import 'package:domain/entity/rewards_history_earned_entity.dart';
  52. import 'package:domain/entity/rewards_home_entity.dart';
  53. import 'package:domain/entity/rewards_home_tes_entity.dart';
  54. import 'package:domain/entity/rewards_home_test_entity.dart';
  55. import 'package:domain/entity/rewards_home_tx_entity.dart';
  56. import 'package:domain/entity/rewards_index_entity.dart';
  57. import 'package:domain/entity/rewards_list_entity.dart';
  58. import 'package:domain/entity/rewards_my_detail_entity.dart';
  59. import 'package:domain/entity/rewards_my_entity.dart';
  60. import 'package:domain/entity/rewards_search_entity.dart';
  61. import 'package:domain/entity/server_time.dart';
  62. import 'package:domain/entity/service_category_entity.dart';
  63. import 'package:domain/entity/service_evaluate_list_entity.dart';
  64. import 'package:domain/entity/service_order_detail_entity.dart';
  65. import 'package:domain/entity/service_repair_detail_entity.dart';
  66. import 'package:domain/entity/service_time_period_entity.dart';
  67. import 'package:domain/entity/text_kon_entity.dart';
  68. import 'package:domain/entity/user_me_entity.dart';
  69. import 'package:domain/entity/visitor_page_entity.dart';
  70. JsonConvert jsonConvert = JsonConvert();
  71. typedef JsonConvertFunction<T> = T Function(Map<String, dynamic> json);
  72. typedef EnumConvertFunction<T> = T Function(String value);
  73. typedef ConvertExceptionHandler = void Function(Object error, StackTrace stackTrace);
  74. extension MapSafeExt<K, V> on Map<K, V> {
  75. T? getOrNull<T>(K? key) {
  76. if (!containsKey(key) || key == null) {
  77. return null;
  78. } else {
  79. return this[key] as T?;
  80. }
  81. }
  82. }
  83. class JsonConvert {
  84. static ConvertExceptionHandler? onError;
  85. JsonConvertClassCollection convertFuncMap = JsonConvertClassCollection();
  86. /// 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
  87. /// https://flutter.cn/docs/development/tools/hot-reload
  88. /// class MyApp extends StatelessWidget {
  89. /// const MyApp({Key? key})
  90. /// : super(key: key);
  91. ///
  92. /// @override
  93. /// Widget build(BuildContext context) {
  94. /// jsonConvert.reassembleConvertFuncMap();
  95. /// return MaterialApp();
  96. /// }
  97. /// }
  98. void reassembleConvertFuncMap() {
  99. bool isReleaseMode = const bool.fromEnvironment('dart.vm.product');
  100. if (!isReleaseMode) {
  101. convertFuncMap = JsonConvertClassCollection();
  102. }
  103. }
  104. T? convert<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  105. if (value == null) {
  106. return null;
  107. }
  108. if (value is T) {
  109. return value;
  110. }
  111. try {
  112. return _asT<T>(value, enumConvert: enumConvert);
  113. } catch (e, stackTrace) {
  114. debugPrint('asT<$T> $e $stackTrace');
  115. if (onError != null) {
  116. onError!(e, stackTrace);
  117. }
  118. return null;
  119. }
  120. }
  121. List<T?>? convertList<T>(List<dynamic>? value,
  122. {EnumConvertFunction? enumConvert}) {
  123. if (value == null) {
  124. return null;
  125. }
  126. try {
  127. return value.map((dynamic e) => _asT<T>(e, enumConvert: enumConvert))
  128. .toList();
  129. } catch (e, stackTrace) {
  130. debugPrint('asT<$T> $e $stackTrace');
  131. if (onError != null) {
  132. onError!(e, stackTrace);
  133. }
  134. return <T>[];
  135. }
  136. }
  137. List<T>? convertListNotNull<T>(dynamic value,
  138. {EnumConvertFunction? enumConvert}) {
  139. if (value == null) {
  140. return null;
  141. }
  142. try {
  143. return (value as List<dynamic>).map((dynamic e) =>
  144. _asT<T>(e, enumConvert: enumConvert)!).toList();
  145. } catch (e, stackTrace) {
  146. debugPrint('asT<$T> $e $stackTrace');
  147. if (onError != null) {
  148. onError!(e, stackTrace);
  149. }
  150. return <T>[];
  151. }
  152. }
  153. T? _asT<T extends Object?>(dynamic value,
  154. {EnumConvertFunction? enumConvert}) {
  155. final String type = T.toString();
  156. final String valueS = value.toString();
  157. if (enumConvert != null) {
  158. return enumConvert(valueS) as T;
  159. } else if (type == "String") {
  160. return valueS as T;
  161. } else if (type == "int") {
  162. final int? intValue = int.tryParse(valueS);
  163. if (intValue == null) {
  164. return double.tryParse(valueS)?.toInt() as T?;
  165. } else {
  166. return intValue as T;
  167. }
  168. } else if (type == "double") {
  169. return double.parse(valueS) as T;
  170. } else if (type == "DateTime") {
  171. return DateTime.parse(valueS) as T;
  172. } else if (type == "bool") {
  173. if (valueS == '0' || valueS == '1') {
  174. return (valueS == '1') as T;
  175. }
  176. return (valueS == 'true') as T;
  177. } else if (type == "Map" || type.startsWith("Map<")) {
  178. return value as T;
  179. } else {
  180. if (convertFuncMap.containsKey(type)) {
  181. if (value == null) {
  182. return null;
  183. }
  184. var covertFunc = convertFuncMap[type]!;
  185. if (covertFunc is Map<String, dynamic>) {
  186. return covertFunc(value as Map<String, dynamic>) as T;
  187. } else {
  188. return covertFunc(Map<String, dynamic>.from(value)) as T;
  189. }
  190. } else {
  191. throw UnimplementedError(
  192. '$type unimplemented,you can try running the app again');
  193. }
  194. }
  195. }
  196. //list is returned by type
  197. static M? _getListChildType<M>(List<Map<String, dynamic>> data) {
  198. if (<AuthLoginEntity>[] is M) {
  199. return data.map<AuthLoginEntity>((Map<String, dynamic> e) =>
  200. AuthLoginEntity.fromJson(e)).toList() as M;
  201. }
  202. if (<CaptchaImgEntity>[] is M) {
  203. return data.map<CaptchaImgEntity>((Map<String, dynamic> e) =>
  204. CaptchaImgEntity.fromJson(e)).toList() as M;
  205. }
  206. if (<FacilityBookEntity>[] is M) {
  207. return data.map<FacilityBookEntity>((Map<String, dynamic> e) =>
  208. FacilityBookEntity.fromJson(e)).toList() as M;
  209. }
  210. if (<FacilityBookFacilityType>[] is M) {
  211. return data.map<FacilityBookFacilityType>((Map<String, dynamic> e) =>
  212. FacilityBookFacilityType.fromJson(e)).toList() as M;
  213. }
  214. if (<FacilityBookFacilities>[] is M) {
  215. return data.map<FacilityBookFacilities>((Map<String, dynamic> e) =>
  216. FacilityBookFacilities.fromJson(e)).toList() as M;
  217. }
  218. if (<FacilityBookFacilitiesPeriods>[] is M) {
  219. return data.map<FacilityBookFacilitiesPeriods>((Map<String, dynamic> e) =>
  220. FacilityBookFacilitiesPeriods.fromJson(e)).toList() as M;
  221. }
  222. if (<FacilityIndexEntity>[] is M) {
  223. return data.map<FacilityIndexEntity>((Map<String, dynamic> e) =>
  224. FacilityIndexEntity.fromJson(e)).toList() as M;
  225. }
  226. if (<FacilityPageEntity>[] is M) {
  227. return data.map<FacilityPageEntity>((Map<String, dynamic> e) =>
  228. FacilityPageEntity.fromJson(e)).toList() as M;
  229. }
  230. if (<FacilityDetail>[] is M) {
  231. return data.map<FacilityDetail>((Map<String, dynamic> e) =>
  232. FacilityDetail.fromJson(e)).toList() as M;
  233. }
  234. if (<FacilityPageListBooking>[] is M) {
  235. return data.map<FacilityPageListBooking>((Map<String, dynamic> e) =>
  236. FacilityPageListBooking.fromJson(e)).toList() as M;
  237. }
  238. if (<FacilityPageListFacility>[] is M) {
  239. return data.map<FacilityPageListFacility>((Map<String, dynamic> e) =>
  240. FacilityPageListFacility.fromJson(e)).toList() as M;
  241. }
  242. if (<FacilityPageListFacilityType>[] is M) {
  243. return data.map<FacilityPageListFacilityType>((Map<String, dynamic> e) =>
  244. FacilityPageListFacilityType.fromJson(e)).toList() as M;
  245. }
  246. if (<FacilityPageListTimePeriod>[] is M) {
  247. return data.map<FacilityPageListTimePeriod>((Map<String, dynamic> e) =>
  248. FacilityPageListTimePeriod.fromJson(e)).toList() as M;
  249. }
  250. if (<FacilityPageListAccount>[] is M) {
  251. return data.map<FacilityPageListAccount>((Map<String, dynamic> e) =>
  252. FacilityPageListAccount.fromJson(e)).toList() as M;
  253. }
  254. if (<FeedbackDetailEntity>[] is M) {
  255. return data.map<FeedbackDetailEntity>((Map<String, dynamic> e) =>
  256. FeedbackDetailEntity.fromJson(e)).toList() as M;
  257. }
  258. if (<FeedbackDetailReplies>[] is M) {
  259. return data.map<FeedbackDetailReplies>((Map<String, dynamic> e) =>
  260. FeedbackDetailReplies.fromJson(e)).toList() as M;
  261. }
  262. if (<FeedbackListEntity>[] is M) {
  263. return data.map<FeedbackListEntity>((Map<String, dynamic> e) =>
  264. FeedbackListEntity.fromJson(e)).toList() as M;
  265. }
  266. if (<FeedbackItemEntity>[] is M) {
  267. return data.map<FeedbackItemEntity>((Map<String, dynamic> e) =>
  268. FeedbackItemEntity.fromJson(e)).toList() as M;
  269. }
  270. if (<FormContentEntity>[] is M) {
  271. return data.map<FormContentEntity>((Map<String, dynamic> e) =>
  272. FormContentEntity.fromJson(e)).toList() as M;
  273. }
  274. if (<FormDetailEntity>[] is M) {
  275. return data.map<FormDetailEntity>((Map<String, dynamic> e) =>
  276. FormDetailEntity.fromJson(e)).toList() as M;
  277. }
  278. if (<FormListEntity>[] is M) {
  279. return data.map<FormListEntity>((Map<String, dynamic> e) =>
  280. FormListEntity.fromJson(e)).toList() as M;
  281. }
  282. if (<FormOptionEntity>[] is M) {
  283. return data.map<FormOptionEntity>((Map<String, dynamic> e) =>
  284. FormOptionEntity.fromJson(e)).toList() as M;
  285. }
  286. if (<FormSubmittedEntity>[] is M) {
  287. return data.map<FormSubmittedEntity>((Map<String, dynamic> e) =>
  288. FormSubmittedEntity.fromJson(e)).toList() as M;
  289. }
  290. if (<FormSubmittedEstateOnlineForm>[] is M) {
  291. return data.map<FormSubmittedEstateOnlineForm>((Map<String, dynamic> e) =>
  292. FormSubmittedEstateOnlineForm.fromJson(e)).toList() as M;
  293. }
  294. if (<FormSubmittedPageEntity>[] is M) {
  295. return data.map<FormSubmittedPageEntity>((Map<String, dynamic> e) =>
  296. FormSubmittedPageEntity.fromJson(e)).toList() as M;
  297. }
  298. if (<GarageSaleHistoryEntity>[] is M) {
  299. return data.map<GarageSaleHistoryEntity>((Map<String, dynamic> e) =>
  300. GarageSaleHistoryEntity.fromJson(e)).toList() as M;
  301. }
  302. if (<GarageSaleHistoryList>[] is M) {
  303. return data.map<GarageSaleHistoryList>((Map<String, dynamic> e) =>
  304. GarageSaleHistoryList.fromJson(e)).toList() as M;
  305. }
  306. if (<GarageSaleHistoryListOrderProducts>[] is M) {
  307. return data.map<GarageSaleHistoryListOrderProducts>((
  308. Map<String, dynamic> e) =>
  309. GarageSaleHistoryListOrderProducts.fromJson(e)).toList() as M;
  310. }
  311. if (<GarageSaleRentDetailEntity>[] is M) {
  312. return data.map<GarageSaleRentDetailEntity>((Map<String, dynamic> e) =>
  313. GarageSaleRentDetailEntity.fromJson(e)).toList() as M;
  314. }
  315. if (<GarageSaleRentDetailAccount>[] is M) {
  316. return data.map<GarageSaleRentDetailAccount>((Map<String, dynamic> e) =>
  317. GarageSaleRentDetailAccount.fromJson(e)).toList() as M;
  318. }
  319. if (<GarageSaleRentEntity>[] is M) {
  320. return data.map<GarageSaleRentEntity>((Map<String, dynamic> e) =>
  321. GarageSaleRentEntity.fromJson(e)).toList() as M;
  322. }
  323. if (<GarageSaleRentList>[] is M) {
  324. return data.map<GarageSaleRentList>((Map<String, dynamic> e) =>
  325. GarageSaleRentList.fromJson(e)).toList() as M;
  326. }
  327. if (<GarageSaleRentListAccount>[] is M) {
  328. return data.map<GarageSaleRentListAccount>((Map<String, dynamic> e) =>
  329. GarageSaleRentListAccount.fromJson(e)).toList() as M;
  330. }
  331. if (<HomeListEntity>[] is M) {
  332. return data.map<HomeListEntity>((Map<String, dynamic> e) =>
  333. HomeListEntity.fromJson(e)).toList() as M;
  334. }
  335. if (<HomeListBanners>[] is M) {
  336. return data.map<HomeListBanners>((Map<String, dynamic> e) =>
  337. HomeListBanners.fromJson(e)).toList() as M;
  338. }
  339. if (<HomeListLatestTransactions>[] is M) {
  340. return data.map<HomeListLatestTransactions>((Map<String, dynamic> e) =>
  341. HomeListLatestTransactions.fromJson(e)).toList() as M;
  342. }
  343. if (<HomeListPropertyNews>[] is M) {
  344. return data.map<HomeListPropertyNews>((Map<String, dynamic> e) =>
  345. HomeListPropertyNews.fromJson(e)).toList() as M;
  346. }
  347. if (<IdNameEntity>[] is M) {
  348. return data.map<IdNameEntity>((Map<String, dynamic> e) =>
  349. IdNameEntity.fromJson(e)).toList() as M;
  350. }
  351. if (<LatestNewsDetailEntity>[] is M) {
  352. return data.map<LatestNewsDetailEntity>((Map<String, dynamic> e) =>
  353. LatestNewsDetailEntity.fromJson(e)).toList() as M;
  354. }
  355. if (<LatestNewsPageEntity>[] is M) {
  356. return data.map<LatestNewsPageEntity>((Map<String, dynamic> e) =>
  357. LatestNewsPageEntity.fromJson(e)).toList() as M;
  358. }
  359. if (<LatestNewsList>[] is M) {
  360. return data.map<LatestNewsList>((Map<String, dynamic> e) =>
  361. LatestNewsList.fromJson(e)).toList() as M;
  362. }
  363. if (<MyfollowingListEntity>[] is M) {
  364. return data.map<MyfollowingListEntity>((Map<String, dynamic> e) =>
  365. MyfollowingListEntity.fromJson(e)).toList() as M;
  366. }
  367. if (<MypostsNewsfeedEntity>[] is M) {
  368. return data.map<MypostsNewsfeedEntity>((Map<String, dynamic> e) =>
  369. MypostsNewsfeedEntity.fromJson(e)).toList() as M;
  370. }
  371. if (<MypostsNewsfeedList>[] is M) {
  372. return data.map<MypostsNewsfeedList>((Map<String, dynamic> e) =>
  373. MypostsNewsfeedList.fromJson(e)).toList() as M;
  374. }
  375. if (<MypostsNewsfeedListAccount>[] is M) {
  376. return data.map<MypostsNewsfeedListAccount>((Map<String, dynamic> e) =>
  377. MypostsNewsfeedListAccount.fromJson(e)).toList() as M;
  378. }
  379. if (<MypostsSaleRentEntity>[] is M) {
  380. return data.map<MypostsSaleRentEntity>((Map<String, dynamic> e) =>
  381. MypostsSaleRentEntity.fromJson(e)).toList() as M;
  382. }
  383. if (<MypostsSaleRentList>[] is M) {
  384. return data.map<MypostsSaleRentList>((Map<String, dynamic> e) =>
  385. MypostsSaleRentList.fromJson(e)).toList() as M;
  386. }
  387. if (<NewsfeedCommentPublishEntity>[] is M) {
  388. return data.map<NewsfeedCommentPublishEntity>((Map<String, dynamic> e) =>
  389. NewsfeedCommentPublishEntity.fromJson(e)).toList() as M;
  390. }
  391. if (<NewsfeedDetailEntity>[] is M) {
  392. return data.map<NewsfeedDetailEntity>((Map<String, dynamic> e) =>
  393. NewsfeedDetailEntity.fromJson(e)).toList() as M;
  394. }
  395. if (<NewsfeedDetailAccount>[] is M) {
  396. return data.map<NewsfeedDetailAccount>((Map<String, dynamic> e) =>
  397. NewsfeedDetailAccount.fromJson(e)).toList() as M;
  398. }
  399. if (<NewsfeedDetailComments>[] is M) {
  400. return data.map<NewsfeedDetailComments>((Map<String, dynamic> e) =>
  401. NewsfeedDetailComments.fromJson(e)).toList() as M;
  402. }
  403. if (<NewsfeedDetailCommentsAccount>[] is M) {
  404. return data.map<NewsfeedDetailCommentsAccount>((Map<String, dynamic> e) =>
  405. NewsfeedDetailCommentsAccount.fromJson(e)).toList() as M;
  406. }
  407. if (<NewsfeedDetailCommentsToAccount>[] is M) {
  408. return data.map<NewsfeedDetailCommentsToAccount>((
  409. Map<String, dynamic> e) =>
  410. NewsfeedDetailCommentsToAccount.fromJson(e)).toList() as M;
  411. }
  412. if (<NewsfeedFollowingEntity>[] is M) {
  413. return data.map<NewsfeedFollowingEntity>((Map<String, dynamic> e) =>
  414. NewsfeedFollowingEntity.fromJson(e)).toList() as M;
  415. }
  416. if (<NewsfeedFollowingList>[] is M) {
  417. return data.map<NewsfeedFollowingList>((Map<String, dynamic> e) =>
  418. NewsfeedFollowingList.fromJson(e)).toList() as M;
  419. }
  420. if (<NewsfeedFollowingListAccount>[] is M) {
  421. return data.map<NewsfeedFollowingListAccount>((Map<String, dynamic> e) =>
  422. NewsfeedFollowingListAccount.fromJson(e)).toList() as M;
  423. }
  424. if (<NewsfeedForyouEntity>[] is M) {
  425. return data.map<NewsfeedForyouEntity>((Map<String, dynamic> e) =>
  426. NewsfeedForyouEntity.fromJson(e)).toList() as M;
  427. }
  428. if (<NewsfeedForyouList>[] is M) {
  429. return data.map<NewsfeedForyouList>((Map<String, dynamic> e) =>
  430. NewsfeedForyouList.fromJson(e)).toList() as M;
  431. }
  432. if (<NewsfeedForyouListAccount>[] is M) {
  433. return data.map<NewsfeedForyouListAccount>((Map<String, dynamic> e) =>
  434. NewsfeedForyouListAccount.fromJson(e)).toList() as M;
  435. }
  436. if (<NewsfeedNewsEntity>[] is M) {
  437. return data.map<NewsfeedNewsEntity>((Map<String, dynamic> e) =>
  438. NewsfeedNewsEntity.fromJson(e)).toList() as M;
  439. }
  440. if (<NewsfeedNewsList>[] is M) {
  441. return data.map<NewsfeedNewsList>((Map<String, dynamic> e) =>
  442. NewsfeedNewsList.fromJson(e)).toList() as M;
  443. }
  444. if (<NewsfeedNewsListAccount>[] is M) {
  445. return data.map<NewsfeedNewsListAccount>((Map<String, dynamic> e) =>
  446. NewsfeedNewsListAccount.fromJson(e)).toList() as M;
  447. }
  448. if (<NoticeBoardAnnounDetailEntity>[] is M) {
  449. return data.map<NoticeBoardAnnounDetailEntity>((Map<String, dynamic> e) =>
  450. NoticeBoardAnnounDetailEntity.fromJson(e)).toList() as M;
  451. }
  452. if (<NoticeBoardAnnounEntity>[] is M) {
  453. return data.map<NoticeBoardAnnounEntity>((Map<String, dynamic> e) =>
  454. NoticeBoardAnnounEntity.fromJson(e)).toList() as M;
  455. }
  456. if (<NoticeBoardAnnounList>[] is M) {
  457. return data.map<NoticeBoardAnnounList>((Map<String, dynamic> e) =>
  458. NoticeBoardAnnounList.fromJson(e)).toList() as M;
  459. }
  460. if (<NoticeBoardDocumentsEntity>[] is M) {
  461. return data.map<NoticeBoardDocumentsEntity>((Map<String, dynamic> e) =>
  462. NoticeBoardDocumentsEntity.fromJson(e)).toList() as M;
  463. }
  464. if (<NoticeBoardDocumentsList>[] is M) {
  465. return data.map<NoticeBoardDocumentsList>((Map<String, dynamic> e) =>
  466. NoticeBoardDocumentsList.fromJson(e)).toList() as M;
  467. }
  468. if (<NoticeBoardEventDetailEntity>[] is M) {
  469. return data.map<NoticeBoardEventDetailEntity>((Map<String, dynamic> e) =>
  470. NoticeBoardEventDetailEntity.fromJson(e)).toList() as M;
  471. }
  472. if (<NoticeBoardEventEntity>[] is M) {
  473. return data.map<NoticeBoardEventEntity>((Map<String, dynamic> e) =>
  474. NoticeBoardEventEntity.fromJson(e)).toList() as M;
  475. }
  476. if (<NoticeBoardEventList>[] is M) {
  477. return data.map<NoticeBoardEventList>((Map<String, dynamic> e) =>
  478. NoticeBoardEventList.fromJson(e)).toList() as M;
  479. }
  480. if (<PaidServiceDetailEntity>[] is M) {
  481. return data.map<PaidServiceDetailEntity>((Map<String, dynamic> e) =>
  482. PaidServiceDetailEntity.fromJson(e)).toList() as M;
  483. }
  484. if (<PaidServiceDetailMerchant>[] is M) {
  485. return data.map<PaidServiceDetailMerchant>((Map<String, dynamic> e) =>
  486. PaidServiceDetailMerchant.fromJson(e)).toList() as M;
  487. }
  488. if (<PaidServiceDetailCategory>[] is M) {
  489. return data.map<PaidServiceDetailCategory>((Map<String, dynamic> e) =>
  490. PaidServiceDetailCategory.fromJson(e)).toList() as M;
  491. }
  492. if (<PaidServiceDetailProducts>[] is M) {
  493. return data.map<PaidServiceDetailProducts>((Map<String, dynamic> e) =>
  494. PaidServiceDetailProducts.fromJson(e)).toList() as M;
  495. }
  496. if (<PaidServiceDetailEvaluations>[] is M) {
  497. return data.map<PaidServiceDetailEvaluations>((Map<String, dynamic> e) =>
  498. PaidServiceDetailEvaluations.fromJson(e)).toList() as M;
  499. }
  500. if (<PaidServiceDetailEvaluationsAccount>[] is M) {
  501. return data.map<PaidServiceDetailEvaluationsAccount>((
  502. Map<String, dynamic> e) =>
  503. PaidServiceDetailEvaluationsAccount.fromJson(e)).toList() as M;
  504. }
  505. if (<PaidServiceEntity>[] is M) {
  506. return data.map<PaidServiceEntity>((Map<String, dynamic> e) =>
  507. PaidServiceEntity.fromJson(e)).toList() as M;
  508. }
  509. if (<PaidServiceList>[] is M) {
  510. return data.map<PaidServiceList>((Map<String, dynamic> e) =>
  511. PaidServiceList.fromJson(e)).toList() as M;
  512. }
  513. if (<PaidServiceListMerchant>[] is M) {
  514. return data.map<PaidServiceListMerchant>((Map<String, dynamic> e) =>
  515. PaidServiceListMerchant.fromJson(e)).toList() as M;
  516. }
  517. if (<PaidServiceListCategory>[] is M) {
  518. return data.map<PaidServiceListCategory>((Map<String, dynamic> e) =>
  519. PaidServiceListCategory.fromJson(e)).toList() as M;
  520. }
  521. if (<PaidServicePaySuccessInfoEntity>[] is M) {
  522. return data.map<PaidServicePaySuccessInfoEntity>((
  523. Map<String, dynamic> e) =>
  524. PaidServicePaySuccessInfoEntity.fromJson(e)).toList() as M;
  525. }
  526. if (<PaidServicePaySuccessInfoAccount>[] is M) {
  527. return data.map<PaidServicePaySuccessInfoAccount>((
  528. Map<String, dynamic> e) =>
  529. PaidServicePaySuccessInfoAccount.fromJson(e)).toList() as M;
  530. }
  531. if (<PaidServicePaySuccessInfoOrderService>[] is M) {
  532. return data.map<PaidServicePaySuccessInfoOrderService>((
  533. Map<String, dynamic> e) =>
  534. PaidServicePaySuccessInfoOrderService.fromJson(e)).toList() as M;
  535. }
  536. if (<PaidServicePaySuccessInfoMerchant>[] is M) {
  537. return data.map<PaidServicePaySuccessInfoMerchant>((
  538. Map<String, dynamic> e) =>
  539. PaidServicePaySuccessInfoMerchant.fromJson(e)).toList() as M;
  540. }
  541. if (<PaidServicePaySuccessInfoStaff>[] is M) {
  542. return data.map<PaidServicePaySuccessInfoStaff>((
  543. Map<String, dynamic> e) => PaidServicePaySuccessInfoStaff.fromJson(e))
  544. .toList() as M;
  545. }
  546. if (<PaidServicePaySuccessInfoOrderProducts>[] is M) {
  547. return data.map<PaidServicePaySuccessInfoOrderProducts>((
  548. Map<String, dynamic> e) =>
  549. PaidServicePaySuccessInfoOrderProducts.fromJson(e)).toList() as M;
  550. }
  551. if (<PaidServicePaySuccessInfoEstate>[] is M) {
  552. return data.map<PaidServicePaySuccessInfoEstate>((
  553. Map<String, dynamic> e) =>
  554. PaidServicePaySuccessInfoEstate.fromJson(e)).toList() as M;
  555. }
  556. if (<PaidServicePaySuccessInfoEstateUnit>[] is M) {
  557. return data.map<PaidServicePaySuccessInfoEstateUnit>((
  558. Map<String, dynamic> e) =>
  559. PaidServicePaySuccessInfoEstateUnit.fromJson(e)).toList() as M;
  560. }
  561. if (<PaymentPageEntity>[] is M) {
  562. return data.map<PaymentPageEntity>((Map<String, dynamic> e) =>
  563. PaymentPageEntity.fromJson(e)).toList() as M;
  564. }
  565. if (<PaymentPageList>[] is M) {
  566. return data.map<PaymentPageList>((Map<String, dynamic> e) =>
  567. PaymentPageList.fromJson(e)).toList() as M;
  568. }
  569. if (<PropertyNewsDetailEntity>[] is M) {
  570. return data.map<PropertyNewsDetailEntity>((Map<String, dynamic> e) =>
  571. PropertyNewsDetailEntity.fromJson(e)).toList() as M;
  572. }
  573. if (<PropertyNewsEntity>[] is M) {
  574. return data.map<PropertyNewsEntity>((Map<String, dynamic> e) =>
  575. PropertyNewsEntity.fromJson(e)).toList() as M;
  576. }
  577. if (<PropertyNewsList>[] is M) {
  578. return data.map<PropertyNewsList>((Map<String, dynamic> e) =>
  579. PropertyNewsList.fromJson(e)).toList() as M;
  580. }
  581. if (<PropertySaleRentEntity>[] is M) {
  582. return data.map<PropertySaleRentEntity>((Map<String, dynamic> e) =>
  583. PropertySaleRentEntity.fromJson(e)).toList() as M;
  584. }
  585. if (<PropertySaleRentList>[] is M) {
  586. return data.map<PropertySaleRentList>((Map<String, dynamic> e) =>
  587. PropertySaleRentList.fromJson(e)).toList() as M;
  588. }
  589. if (<RepairServiceEntity>[] is M) {
  590. return data.map<RepairServiceEntity>((Map<String, dynamic> e) =>
  591. RepairServiceEntity.fromJson(e)).toList() as M;
  592. }
  593. if (<RepairServiceList>[] is M) {
  594. return data.map<RepairServiceList>((Map<String, dynamic> e) =>
  595. RepairServiceList.fromJson(e)).toList() as M;
  596. }
  597. if (<RepairServiceListMerchant>[] is M) {
  598. return data.map<RepairServiceListMerchant>((Map<String, dynamic> e) =>
  599. RepairServiceListMerchant.fromJson(e)).toList() as M;
  600. }
  601. if (<RepairServiceListCategory>[] is M) {
  602. return data.map<RepairServiceListCategory>((Map<String, dynamic> e) =>
  603. RepairServiceListCategory.fromJson(e)).toList() as M;
  604. }
  605. if (<RewardsActiveDetailEntity>[] is M) {
  606. return data.map<RewardsActiveDetailEntity>((Map<String, dynamic> e) =>
  607. RewardsActiveDetailEntity.fromJson(e)).toList() as M;
  608. }
  609. if (<RewardsActiveDetailData>[] is M) {
  610. return data.map<RewardsActiveDetailData>((Map<String, dynamic> e) =>
  611. RewardsActiveDetailData.fromJson(e)).toList() as M;
  612. }
  613. if (<RewardsActiveDetailDataAccount>[] is M) {
  614. return data.map<RewardsActiveDetailDataAccount>((
  615. Map<String, dynamic> e) => RewardsActiveDetailDataAccount.fromJson(e))
  616. .toList() as M;
  617. }
  618. if (<RewardsActiveDetailDataReward>[] is M) {
  619. return data.map<RewardsActiveDetailDataReward>((Map<String, dynamic> e) =>
  620. RewardsActiveDetailDataReward.fromJson(e)).toList() as M;
  621. }
  622. if (<RewardsBuyEntity>[] is M) {
  623. return data.map<RewardsBuyEntity>((Map<String, dynamic> e) =>
  624. RewardsBuyEntity.fromJson(e)).toList() as M;
  625. }
  626. if (<RewardsBuyReward>[] is M) {
  627. return data.map<RewardsBuyReward>((Map<String, dynamic> e) =>
  628. RewardsBuyReward.fromJson(e)).toList() as M;
  629. }
  630. if (<RewardsBuyRewardRedeemable>[] is M) {
  631. return data.map<RewardsBuyRewardRedeemable>((Map<String, dynamic> e) =>
  632. RewardsBuyRewardRedeemable.fromJson(e)).toList() as M;
  633. }
  634. if (<RewardsCategoryEntity>[] is M) {
  635. return data.map<RewardsCategoryEntity>((Map<String, dynamic> e) =>
  636. RewardsCategoryEntity.fromJson(e)).toList() as M;
  637. }
  638. if (<RewardsDetailEntity>[] is M) {
  639. return data.map<RewardsDetailEntity>((Map<String, dynamic> e) =>
  640. RewardsDetailEntity.fromJson(e)).toList() as M;
  641. }
  642. if (<RewardsDetailRedeemable>[] is M) {
  643. return data.map<RewardsDetailRedeemable>((Map<String, dynamic> e) =>
  644. RewardsDetailRedeemable.fromJson(e)).toList() as M;
  645. }
  646. if (<RewardsHistoryEarnedEntity>[] is M) {
  647. return data.map<RewardsHistoryEarnedEntity>((Map<String, dynamic> e) =>
  648. RewardsHistoryEarnedEntity.fromJson(e)).toList() as M;
  649. }
  650. if (<RewardsHistoryEarnedList>[] is M) {
  651. return data.map<RewardsHistoryEarnedList>((Map<String, dynamic> e) =>
  652. RewardsHistoryEarnedList.fromJson(e)).toList() as M;
  653. }
  654. if (<RewardsHomeEntity>[] is M) {
  655. return data.map<RewardsHomeEntity>((Map<String, dynamic> e) =>
  656. RewardsHomeEntity.fromJson(e)).toList() as M;
  657. }
  658. if (<RewardsHomeData>[] is M) {
  659. return data.map<RewardsHomeData>((Map<String, dynamic> e) =>
  660. RewardsHomeData.fromJson(e)).toList() as M;
  661. }
  662. if (<RewardsHomeDataRewards>[] is M) {
  663. return data.map<RewardsHomeDataRewards>((Map<String, dynamic> e) =>
  664. RewardsHomeDataRewards.fromJson(e)).toList() as M;
  665. }
  666. if (<RewardsHomeTesEntity>[] is M) {
  667. return data.map<RewardsHomeTesEntity>((Map<String, dynamic> e) =>
  668. RewardsHomeTesEntity.fromJson(e)).toList() as M;
  669. }
  670. if (<RewardsHomeTesRewards>[] is M) {
  671. return data.map<RewardsHomeTesRewards>((Map<String, dynamic> e) =>
  672. RewardsHomeTesRewards.fromJson(e)).toList() as M;
  673. }
  674. if (<RewardsHomeTestEntity>[] is M) {
  675. return data.map<RewardsHomeTestEntity>((Map<String, dynamic> e) =>
  676. RewardsHomeTestEntity.fromJson(e)).toList() as M;
  677. }
  678. if (<RewardsHomeTxEntity>[] is M) {
  679. return data.map<RewardsHomeTxEntity>((Map<String, dynamic> e) =>
  680. RewardsHomeTxEntity.fromJson(e)).toList() as M;
  681. }
  682. if (<RewardsIndexEntity>[] is M) {
  683. return data.map<RewardsIndexEntity>((Map<String, dynamic> e) =>
  684. RewardsIndexEntity.fromJson(e)).toList() as M;
  685. }
  686. if (<RewardsIndexContinuous>[] is M) {
  687. return data.map<RewardsIndexContinuous>((Map<String, dynamic> e) =>
  688. RewardsIndexContinuous.fromJson(e)).toList() as M;
  689. }
  690. if (<RewardsIndexTasks>[] is M) {
  691. return data.map<RewardsIndexTasks>((Map<String, dynamic> e) =>
  692. RewardsIndexTasks.fromJson(e)).toList() as M;
  693. }
  694. if (<RewardsListEntity>[] is M) {
  695. return data.map<RewardsListEntity>((Map<String, dynamic> e) =>
  696. RewardsListEntity.fromJson(e)).toList() as M;
  697. }
  698. if (<RewardsListList>[] is M) {
  699. return data.map<RewardsListList>((Map<String, dynamic> e) =>
  700. RewardsListList.fromJson(e)).toList() as M;
  701. }
  702. if (<RewardsMyDetailEntity>[] is M) {
  703. return data.map<RewardsMyDetailEntity>((Map<String, dynamic> e) =>
  704. RewardsMyDetailEntity.fromJson(e)).toList() as M;
  705. }
  706. if (<RewardsMyDetailAccount>[] is M) {
  707. return data.map<RewardsMyDetailAccount>((Map<String, dynamic> e) =>
  708. RewardsMyDetailAccount.fromJson(e)).toList() as M;
  709. }
  710. if (<RewardsMyDetailReward>[] is M) {
  711. return data.map<RewardsMyDetailReward>((Map<String, dynamic> e) =>
  712. RewardsMyDetailReward.fromJson(e)).toList() as M;
  713. }
  714. if (<RewardsMyEntity>[] is M) {
  715. return data.map<RewardsMyEntity>((Map<String, dynamic> e) =>
  716. RewardsMyEntity.fromJson(e)).toList() as M;
  717. }
  718. if (<RewardsMyList>[] is M) {
  719. return data.map<RewardsMyList>((Map<String, dynamic> e) =>
  720. RewardsMyList.fromJson(e)).toList() as M;
  721. }
  722. if (<RewardsMyListReward>[] is M) {
  723. return data.map<RewardsMyListReward>((Map<String, dynamic> e) =>
  724. RewardsMyListReward.fromJson(e)).toList() as M;
  725. }
  726. if (<RewardsSearchEntity>[] is M) {
  727. return data.map<RewardsSearchEntity>((Map<String, dynamic> e) =>
  728. RewardsSearchEntity.fromJson(e)).toList() as M;
  729. }
  730. if (<RewardsSearchRewards>[] is M) {
  731. return data.map<RewardsSearchRewards>((Map<String, dynamic> e) =>
  732. RewardsSearchRewards.fromJson(e)).toList() as M;
  733. }
  734. if (<ServerTime>[] is M) {
  735. return data.map<ServerTime>((Map<String, dynamic> e) =>
  736. ServerTime.fromJson(e)).toList() as M;
  737. }
  738. if (<ServiceCategoryEntity>[] is M) {
  739. return data.map<ServiceCategoryEntity>((Map<String, dynamic> e) =>
  740. ServiceCategoryEntity.fromJson(e)).toList() as M;
  741. }
  742. if (<ServiceEvaluateListEntity>[] is M) {
  743. return data.map<ServiceEvaluateListEntity>((Map<String, dynamic> e) =>
  744. ServiceEvaluateListEntity.fromJson(e)).toList() as M;
  745. }
  746. if (<ServiceEvaluateListList>[] is M) {
  747. return data.map<ServiceEvaluateListList>((Map<String, dynamic> e) =>
  748. ServiceEvaluateListList.fromJson(e)).toList() as M;
  749. }
  750. if (<ServiceEvaluateListListAccount>[] is M) {
  751. return data.map<ServiceEvaluateListListAccount>((
  752. Map<String, dynamic> e) => ServiceEvaluateListListAccount.fromJson(e))
  753. .toList() as M;
  754. }
  755. if (<ServiceOrderDetailEntity>[] is M) {
  756. return data.map<ServiceOrderDetailEntity>((Map<String, dynamic> e) =>
  757. ServiceOrderDetailEntity.fromJson(e)).toList() as M;
  758. }
  759. if (<ServiceOrderDetailAccount>[] is M) {
  760. return data.map<ServiceOrderDetailAccount>((Map<String, dynamic> e) =>
  761. ServiceOrderDetailAccount.fromJson(e)).toList() as M;
  762. }
  763. if (<ServiceOrderDetailOrderService>[] is M) {
  764. return data.map<ServiceOrderDetailOrderService>((
  765. Map<String, dynamic> e) => ServiceOrderDetailOrderService.fromJson(e))
  766. .toList() as M;
  767. }
  768. if (<ServiceOrderDetailOrderProducts>[] is M) {
  769. return data.map<ServiceOrderDetailOrderProducts>((
  770. Map<String, dynamic> e) =>
  771. ServiceOrderDetailOrderProducts.fromJson(e)).toList() as M;
  772. }
  773. if (<ServiceOrderDetailEstate>[] is M) {
  774. return data.map<ServiceOrderDetailEstate>((Map<String, dynamic> e) =>
  775. ServiceOrderDetailEstate.fromJson(e)).toList() as M;
  776. }
  777. if (<ServiceOrderDetailEstateUnit>[] is M) {
  778. return data.map<ServiceOrderDetailEstateUnit>((Map<String, dynamic> e) =>
  779. ServiceOrderDetailEstateUnit.fromJson(e)).toList() as M;
  780. }
  781. if (<ServiceRepairDetailEntity>[] is M) {
  782. return data.map<ServiceRepairDetailEntity>((Map<String, dynamic> e) =>
  783. ServiceRepairDetailEntity.fromJson(e)).toList() as M;
  784. }
  785. if (<ServiceRepairDetailMerchant>[] is M) {
  786. return data.map<ServiceRepairDetailMerchant>((Map<String, dynamic> e) =>
  787. ServiceRepairDetailMerchant.fromJson(e)).toList() as M;
  788. }
  789. if (<ServiceRepairDetailCategory>[] is M) {
  790. return data.map<ServiceRepairDetailCategory>((Map<String, dynamic> e) =>
  791. ServiceRepairDetailCategory.fromJson(e)).toList() as M;
  792. }
  793. if (<ServiceTimePeriodEntity>[] is M) {
  794. return data.map<ServiceTimePeriodEntity>((Map<String, dynamic> e) =>
  795. ServiceTimePeriodEntity.fromJson(e)).toList() as M;
  796. }
  797. if (<TextKonEntity>[] is M) {
  798. return data.map<TextKonEntity>((Map<String, dynamic> e) =>
  799. TextKonEntity.fromJson(e)).toList() as M;
  800. }
  801. if (<UserMeEntity>[] is M) {
  802. return data.map<UserMeEntity>((Map<String, dynamic> e) =>
  803. UserMeEntity.fromJson(e)).toList() as M;
  804. }
  805. if (<UserMeHouseholds>[] is M) {
  806. return data.map<UserMeHouseholds>((Map<String, dynamic> e) =>
  807. UserMeHouseholds.fromJson(e)).toList() as M;
  808. }
  809. if (<UserMeEstates>[] is M) {
  810. return data.map<UserMeEstates>((Map<String, dynamic> e) =>
  811. UserMeEstates.fromJson(e)).toList() as M;
  812. }
  813. if (<UserMeEstatesAccounts>[] is M) {
  814. return data.map<UserMeEstatesAccounts>((Map<String, dynamic> e) =>
  815. UserMeEstatesAccounts.fromJson(e)).toList() as M;
  816. }
  817. if (<UserMeEstatesAccountsUnit>[] is M) {
  818. return data.map<UserMeEstatesAccountsUnit>((Map<String, dynamic> e) =>
  819. UserMeEstatesAccountsUnit.fromJson(e)).toList() as M;
  820. }
  821. if (<UserMeDefaultUnit>[] is M) {
  822. return data.map<UserMeDefaultUnit>((Map<String, dynamic> e) =>
  823. UserMeDefaultUnit.fromJson(e)).toList() as M;
  824. }
  825. if (<UserMeInformation>[] is M) {
  826. return data.map<UserMeInformation>((Map<String, dynamic> e) =>
  827. UserMeInformation.fromJson(e)).toList() as M;
  828. }
  829. if (<VisitorPageEntity>[] is M) {
  830. return data.map<VisitorPageEntity>((Map<String, dynamic> e) =>
  831. VisitorPageEntity.fromJson(e)).toList() as M;
  832. }
  833. if (<VisitorPageList>[] is M) {
  834. return data.map<VisitorPageList>((Map<String, dynamic> e) =>
  835. VisitorPageList.fromJson(e)).toList() as M;
  836. }
  837. debugPrint("$M not found");
  838. return null;
  839. }
  840. static M? fromJsonAsT<M>(dynamic json) {
  841. if (json is M) {
  842. return json;
  843. }
  844. if (json is List) {
  845. return _getListChildType<M>(
  846. json.map((dynamic e) => e as Map<String, dynamic>).toList());
  847. } else {
  848. return jsonConvert.convert<M>(json);
  849. }
  850. }
  851. }
  852. class JsonConvertClassCollection {
  853. Map<String, JsonConvertFunction> convertFuncMap = {
  854. (AuthLoginEntity).toString(): AuthLoginEntity.fromJson,
  855. (CaptchaImgEntity).toString(): CaptchaImgEntity.fromJson,
  856. (FacilityBookEntity).toString(): FacilityBookEntity.fromJson,
  857. (FacilityBookFacilityType).toString(): FacilityBookFacilityType.fromJson,
  858. (FacilityBookFacilities).toString(): FacilityBookFacilities.fromJson,
  859. (FacilityBookFacilitiesPeriods).toString(): FacilityBookFacilitiesPeriods
  860. .fromJson,
  861. (FacilityIndexEntity).toString(): FacilityIndexEntity.fromJson,
  862. (FacilityPageEntity).toString(): FacilityPageEntity.fromJson,
  863. (FacilityDetail).toString(): FacilityDetail.fromJson,
  864. (FacilityPageListBooking).toString(): FacilityPageListBooking.fromJson,
  865. (FacilityPageListFacility).toString(): FacilityPageListFacility.fromJson,
  866. (FacilityPageListFacilityType).toString(): FacilityPageListFacilityType
  867. .fromJson,
  868. (FacilityPageListTimePeriod).toString(): FacilityPageListTimePeriod
  869. .fromJson,
  870. (FacilityPageListAccount).toString(): FacilityPageListAccount.fromJson,
  871. (FeedbackDetailEntity).toString(): FeedbackDetailEntity.fromJson,
  872. (FeedbackDetailReplies).toString(): FeedbackDetailReplies.fromJson,
  873. (FeedbackListEntity).toString(): FeedbackListEntity.fromJson,
  874. (FeedbackItemEntity).toString(): FeedbackItemEntity.fromJson,
  875. (FormContentEntity).toString(): FormContentEntity.fromJson,
  876. (FormDetailEntity).toString(): FormDetailEntity.fromJson,
  877. (FormListEntity).toString(): FormListEntity.fromJson,
  878. (FormOptionEntity).toString(): FormOptionEntity.fromJson,
  879. (FormSubmittedEntity).toString(): FormSubmittedEntity.fromJson,
  880. (FormSubmittedEstateOnlineForm).toString(): FormSubmittedEstateOnlineForm
  881. .fromJson,
  882. (FormSubmittedPageEntity).toString(): FormSubmittedPageEntity.fromJson,
  883. (GarageSaleHistoryEntity).toString(): GarageSaleHistoryEntity.fromJson,
  884. (GarageSaleHistoryList).toString(): GarageSaleHistoryList.fromJson,
  885. (GarageSaleHistoryListOrderProducts)
  886. .toString(): GarageSaleHistoryListOrderProducts.fromJson,
  887. (GarageSaleRentDetailEntity).toString(): GarageSaleRentDetailEntity
  888. .fromJson,
  889. (GarageSaleRentDetailAccount).toString(): GarageSaleRentDetailAccount
  890. .fromJson,
  891. (GarageSaleRentEntity).toString(): GarageSaleRentEntity.fromJson,
  892. (GarageSaleRentList).toString(): GarageSaleRentList.fromJson,
  893. (GarageSaleRentListAccount).toString(): GarageSaleRentListAccount.fromJson,
  894. (HomeListEntity).toString(): HomeListEntity.fromJson,
  895. (HomeListBanners).toString(): HomeListBanners.fromJson,
  896. (HomeListLatestTransactions).toString(): HomeListLatestTransactions
  897. .fromJson,
  898. (HomeListPropertyNews).toString(): HomeListPropertyNews.fromJson,
  899. (IdNameEntity).toString(): IdNameEntity.fromJson,
  900. (LatestNewsDetailEntity).toString(): LatestNewsDetailEntity.fromJson,
  901. (LatestNewsPageEntity).toString(): LatestNewsPageEntity.fromJson,
  902. (LatestNewsList).toString(): LatestNewsList.fromJson,
  903. (MyfollowingListEntity).toString(): MyfollowingListEntity.fromJson,
  904. (MypostsNewsfeedEntity).toString(): MypostsNewsfeedEntity.fromJson,
  905. (MypostsNewsfeedList).toString(): MypostsNewsfeedList.fromJson,
  906. (MypostsNewsfeedListAccount).toString(): MypostsNewsfeedListAccount
  907. .fromJson,
  908. (MypostsSaleRentEntity).toString(): MypostsSaleRentEntity.fromJson,
  909. (MypostsSaleRentList).toString(): MypostsSaleRentList.fromJson,
  910. (NewsfeedCommentPublishEntity).toString(): NewsfeedCommentPublishEntity
  911. .fromJson,
  912. (NewsfeedDetailEntity).toString(): NewsfeedDetailEntity.fromJson,
  913. (NewsfeedDetailAccount).toString(): NewsfeedDetailAccount.fromJson,
  914. (NewsfeedDetailComments).toString(): NewsfeedDetailComments.fromJson,
  915. (NewsfeedDetailCommentsAccount).toString(): NewsfeedDetailCommentsAccount
  916. .fromJson,
  917. (NewsfeedDetailCommentsToAccount)
  918. .toString(): NewsfeedDetailCommentsToAccount.fromJson,
  919. (NewsfeedFollowingEntity).toString(): NewsfeedFollowingEntity.fromJson,
  920. (NewsfeedFollowingList).toString(): NewsfeedFollowingList.fromJson,
  921. (NewsfeedFollowingListAccount).toString(): NewsfeedFollowingListAccount
  922. .fromJson,
  923. (NewsfeedForyouEntity).toString(): NewsfeedForyouEntity.fromJson,
  924. (NewsfeedForyouList).toString(): NewsfeedForyouList.fromJson,
  925. (NewsfeedForyouListAccount).toString(): NewsfeedForyouListAccount.fromJson,
  926. (NewsfeedNewsEntity).toString(): NewsfeedNewsEntity.fromJson,
  927. (NewsfeedNewsList).toString(): NewsfeedNewsList.fromJson,
  928. (NewsfeedNewsListAccount).toString(): NewsfeedNewsListAccount.fromJson,
  929. (NoticeBoardAnnounDetailEntity).toString(): NoticeBoardAnnounDetailEntity
  930. .fromJson,
  931. (NoticeBoardAnnounEntity).toString(): NoticeBoardAnnounEntity.fromJson,
  932. (NoticeBoardAnnounList).toString(): NoticeBoardAnnounList.fromJson,
  933. (NoticeBoardDocumentsEntity).toString(): NoticeBoardDocumentsEntity
  934. .fromJson,
  935. (NoticeBoardDocumentsList).toString(): NoticeBoardDocumentsList.fromJson,
  936. (NoticeBoardEventDetailEntity).toString(): NoticeBoardEventDetailEntity
  937. .fromJson,
  938. (NoticeBoardEventEntity).toString(): NoticeBoardEventEntity.fromJson,
  939. (NoticeBoardEventList).toString(): NoticeBoardEventList.fromJson,
  940. (PaidServiceDetailEntity).toString(): PaidServiceDetailEntity.fromJson,
  941. (PaidServiceDetailMerchant).toString(): PaidServiceDetailMerchant.fromJson,
  942. (PaidServiceDetailCategory).toString(): PaidServiceDetailCategory.fromJson,
  943. (PaidServiceDetailProducts).toString(): PaidServiceDetailProducts.fromJson,
  944. (PaidServiceDetailEvaluations).toString(): PaidServiceDetailEvaluations
  945. .fromJson,
  946. (PaidServiceDetailEvaluationsAccount)
  947. .toString(): PaidServiceDetailEvaluationsAccount.fromJson,
  948. (PaidServiceEntity).toString(): PaidServiceEntity.fromJson,
  949. (PaidServiceList).toString(): PaidServiceList.fromJson,
  950. (PaidServiceListMerchant).toString(): PaidServiceListMerchant.fromJson,
  951. (PaidServiceListCategory).toString(): PaidServiceListCategory.fromJson,
  952. (PaidServicePaySuccessInfoEntity)
  953. .toString(): PaidServicePaySuccessInfoEntity.fromJson,
  954. (PaidServicePaySuccessInfoAccount)
  955. .toString(): PaidServicePaySuccessInfoAccount.fromJson,
  956. (PaidServicePaySuccessInfoOrderService)
  957. .toString(): PaidServicePaySuccessInfoOrderService.fromJson,
  958. (PaidServicePaySuccessInfoMerchant)
  959. .toString(): PaidServicePaySuccessInfoMerchant.fromJson,
  960. (PaidServicePaySuccessInfoStaff).toString(): PaidServicePaySuccessInfoStaff
  961. .fromJson,
  962. (PaidServicePaySuccessInfoOrderProducts)
  963. .toString(): PaidServicePaySuccessInfoOrderProducts.fromJson,
  964. (PaidServicePaySuccessInfoEstate)
  965. .toString(): PaidServicePaySuccessInfoEstate.fromJson,
  966. (PaidServicePaySuccessInfoEstateUnit)
  967. .toString(): PaidServicePaySuccessInfoEstateUnit.fromJson,
  968. (PaymentPageEntity).toString(): PaymentPageEntity.fromJson,
  969. (PaymentPageList).toString(): PaymentPageList.fromJson,
  970. (PropertyNewsDetailEntity).toString(): PropertyNewsDetailEntity.fromJson,
  971. (PropertyNewsEntity).toString(): PropertyNewsEntity.fromJson,
  972. (PropertyNewsList).toString(): PropertyNewsList.fromJson,
  973. (PropertySaleRentEntity).toString(): PropertySaleRentEntity.fromJson,
  974. (PropertySaleRentList).toString(): PropertySaleRentList.fromJson,
  975. (RepairServiceEntity).toString(): RepairServiceEntity.fromJson,
  976. (RepairServiceList).toString(): RepairServiceList.fromJson,
  977. (RepairServiceListMerchant).toString(): RepairServiceListMerchant.fromJson,
  978. (RepairServiceListCategory).toString(): RepairServiceListCategory.fromJson,
  979. (RewardsActiveDetailEntity).toString(): RewardsActiveDetailEntity.fromJson,
  980. (RewardsActiveDetailData).toString(): RewardsActiveDetailData.fromJson,
  981. (RewardsActiveDetailDataAccount).toString(): RewardsActiveDetailDataAccount
  982. .fromJson,
  983. (RewardsActiveDetailDataReward).toString(): RewardsActiveDetailDataReward
  984. .fromJson,
  985. (RewardsBuyEntity).toString(): RewardsBuyEntity.fromJson,
  986. (RewardsBuyReward).toString(): RewardsBuyReward.fromJson,
  987. (RewardsBuyRewardRedeemable).toString(): RewardsBuyRewardRedeemable
  988. .fromJson,
  989. (RewardsCategoryEntity).toString(): RewardsCategoryEntity.fromJson,
  990. (RewardsDetailEntity).toString(): RewardsDetailEntity.fromJson,
  991. (RewardsDetailRedeemable).toString(): RewardsDetailRedeemable.fromJson,
  992. (RewardsHistoryEarnedEntity).toString(): RewardsHistoryEarnedEntity
  993. .fromJson,
  994. (RewardsHistoryEarnedList).toString(): RewardsHistoryEarnedList.fromJson,
  995. (RewardsHomeEntity).toString(): RewardsHomeEntity.fromJson,
  996. (RewardsHomeData).toString(): RewardsHomeData.fromJson,
  997. (RewardsHomeDataRewards).toString(): RewardsHomeDataRewards.fromJson,
  998. (RewardsHomeTesEntity).toString(): RewardsHomeTesEntity.fromJson,
  999. (RewardsHomeTesRewards).toString(): RewardsHomeTesRewards.fromJson,
  1000. (RewardsHomeTestEntity).toString(): RewardsHomeTestEntity.fromJson,
  1001. (RewardsHomeTxEntity).toString(): RewardsHomeTxEntity.fromJson,
  1002. (RewardsIndexEntity).toString(): RewardsIndexEntity.fromJson,
  1003. (RewardsIndexContinuous).toString(): RewardsIndexContinuous.fromJson,
  1004. (RewardsIndexTasks).toString(): RewardsIndexTasks.fromJson,
  1005. (RewardsListEntity).toString(): RewardsListEntity.fromJson,
  1006. (RewardsListList).toString(): RewardsListList.fromJson,
  1007. (RewardsMyDetailEntity).toString(): RewardsMyDetailEntity.fromJson,
  1008. (RewardsMyDetailAccount).toString(): RewardsMyDetailAccount.fromJson,
  1009. (RewardsMyDetailReward).toString(): RewardsMyDetailReward.fromJson,
  1010. (RewardsMyEntity).toString(): RewardsMyEntity.fromJson,
  1011. (RewardsMyList).toString(): RewardsMyList.fromJson,
  1012. (RewardsMyListReward).toString(): RewardsMyListReward.fromJson,
  1013. (RewardsSearchEntity).toString(): RewardsSearchEntity.fromJson,
  1014. (RewardsSearchRewards).toString(): RewardsSearchRewards.fromJson,
  1015. (ServerTime).toString(): ServerTime.fromJson,
  1016. (ServiceCategoryEntity).toString(): ServiceCategoryEntity.fromJson,
  1017. (ServiceEvaluateListEntity).toString(): ServiceEvaluateListEntity.fromJson,
  1018. (ServiceEvaluateListList).toString(): ServiceEvaluateListList.fromJson,
  1019. (ServiceEvaluateListListAccount).toString(): ServiceEvaluateListListAccount
  1020. .fromJson,
  1021. (ServiceOrderDetailEntity).toString(): ServiceOrderDetailEntity.fromJson,
  1022. (ServiceOrderDetailAccount).toString(): ServiceOrderDetailAccount.fromJson,
  1023. (ServiceOrderDetailOrderService).toString(): ServiceOrderDetailOrderService
  1024. .fromJson,
  1025. (ServiceOrderDetailOrderProducts)
  1026. .toString(): ServiceOrderDetailOrderProducts.fromJson,
  1027. (ServiceOrderDetailEstate).toString(): ServiceOrderDetailEstate.fromJson,
  1028. (ServiceOrderDetailEstateUnit).toString(): ServiceOrderDetailEstateUnit
  1029. .fromJson,
  1030. (ServiceRepairDetailEntity).toString(): ServiceRepairDetailEntity.fromJson,
  1031. (ServiceRepairDetailMerchant).toString(): ServiceRepairDetailMerchant
  1032. .fromJson,
  1033. (ServiceRepairDetailCategory).toString(): ServiceRepairDetailCategory
  1034. .fromJson,
  1035. (ServiceTimePeriodEntity).toString(): ServiceTimePeriodEntity.fromJson,
  1036. (TextKonEntity).toString(): TextKonEntity.fromJson,
  1037. (UserMeEntity).toString(): UserMeEntity.fromJson,
  1038. (UserMeHouseholds).toString(): UserMeHouseholds.fromJson,
  1039. (UserMeEstates).toString(): UserMeEstates.fromJson,
  1040. (UserMeEstatesAccounts).toString(): UserMeEstatesAccounts.fromJson,
  1041. (UserMeEstatesAccountsUnit).toString(): UserMeEstatesAccountsUnit.fromJson,
  1042. (UserMeDefaultUnit).toString(): UserMeDefaultUnit.fromJson,
  1043. (UserMeInformation).toString(): UserMeInformation.fromJson,
  1044. (VisitorPageEntity).toString(): VisitorPageEntity.fromJson,
  1045. (VisitorPageList).toString(): VisitorPageList.fromJson,
  1046. };
  1047. bool containsKey(String type) {
  1048. return convertFuncMap.containsKey(type);
  1049. }
  1050. JsonConvertFunction? operator [](String key) {
  1051. return convertFuncMap[key];
  1052. }
  1053. }