json_convert_content.dart 47 KB

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