json_convert_content.dart 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  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, {EnumConvertFunction? enumConvert}) {
  122. if (value == null) {
  123. return null;
  124. }
  125. try {
  126. return value.map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)).toList();
  127. } catch (e, stackTrace) {
  128. debugPrint('asT<$T> $e $stackTrace');
  129. if (onError != null) {
  130. onError!(e, stackTrace);
  131. }
  132. return <T>[];
  133. }
  134. }
  135. List<T>? convertListNotNull<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  136. if (value == null) {
  137. return null;
  138. }
  139. try {
  140. return (value as List<dynamic>).map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)!).toList();
  141. } catch (e, stackTrace) {
  142. debugPrint('asT<$T> $e $stackTrace');
  143. if (onError != null) {
  144. onError!(e, stackTrace);
  145. }
  146. return <T>[];
  147. }
  148. }
  149. T? _asT<T extends Object?>(dynamic value,
  150. {EnumConvertFunction? enumConvert}) {
  151. final String type = T.toString();
  152. final String valueS = value.toString();
  153. if (enumConvert != null) {
  154. return enumConvert(valueS) as T;
  155. } else if (type == "String") {
  156. return valueS as T;
  157. } else if (type == "int") {
  158. final int? intValue = int.tryParse(valueS);
  159. if (intValue == null) {
  160. return double.tryParse(valueS)?.toInt() as T?;
  161. } else {
  162. return intValue as T;
  163. }
  164. } else if (type == "double") {
  165. return double.parse(valueS) as T;
  166. } else if (type == "DateTime") {
  167. return DateTime.parse(valueS) as T;
  168. } else if (type == "bool") {
  169. if (valueS == '0' || valueS == '1') {
  170. return (valueS == '1') as T;
  171. }
  172. return (valueS == 'true') as T;
  173. } else if (type == "Map" || type.startsWith("Map<")) {
  174. return value as T;
  175. } else {
  176. if (convertFuncMap.containsKey(type)) {
  177. if (value == null) {
  178. return null;
  179. }
  180. var covertFunc = convertFuncMap[type]!;
  181. if (covertFunc is Map<String, dynamic>) {
  182. return covertFunc(value as Map<String, dynamic>) as T;
  183. } else {
  184. return covertFunc(Map<String, dynamic>.from(value)) as T;
  185. }
  186. } else {
  187. throw UnimplementedError('$type unimplemented,you can try running the app again');
  188. }
  189. }
  190. }
  191. //list is returned by type
  192. static M? _getListChildType<M>(List<Map<String, dynamic>> data) {
  193. if (<AuthLoginEntity>[] is M) {
  194. return data.map<AuthLoginEntity>((Map<String, dynamic> e) => AuthLoginEntity.fromJson(e)).toList() as M;
  195. }
  196. if (<CaptchaImgEntity>[] is M) {
  197. return data.map<CaptchaImgEntity>((Map<String, dynamic> e) => CaptchaImgEntity.fromJson(e)).toList() as M;
  198. }
  199. if (<FacilityBookEntity>[] is M) {
  200. return data.map<FacilityBookEntity>((Map<String, dynamic> e) => FacilityBookEntity.fromJson(e)).toList() as M;
  201. }
  202. if (<FacilityBookFacilityType>[] is M) {
  203. return data.map<FacilityBookFacilityType>((Map<String, dynamic> e) => FacilityBookFacilityType.fromJson(e)).toList() as M;
  204. }
  205. if (<FacilityBookFacilities>[] is M) {
  206. return data.map<FacilityBookFacilities>((Map<String, dynamic> e) => FacilityBookFacilities.fromJson(e)).toList() as M;
  207. }
  208. if (<FacilityBookFacilitiesPeriods>[] is M) {
  209. return data.map<FacilityBookFacilitiesPeriods>((Map<String, dynamic> e) => FacilityBookFacilitiesPeriods.fromJson(e)).toList() as M;
  210. }
  211. if (<FacilityIndexEntity>[] is M) {
  212. return data.map<FacilityIndexEntity>((Map<String, dynamic> e) => FacilityIndexEntity.fromJson(e)).toList() as M;
  213. }
  214. if (<FacilityPageEntity>[] is M) {
  215. return data.map<FacilityPageEntity>((Map<String, dynamic> e) => FacilityPageEntity.fromJson(e)).toList() as M;
  216. }
  217. if (<FacilityDetail>[] is M) {
  218. return data.map<FacilityDetail>((Map<String, dynamic> e) => FacilityDetail.fromJson(e)).toList() as M;
  219. }
  220. if (<FacilityPageListBooking>[] is M) {
  221. return data.map<FacilityPageListBooking>((Map<String, dynamic> e) => FacilityPageListBooking.fromJson(e)).toList() as M;
  222. }
  223. if (<FacilityPageListFacility>[] is M) {
  224. return data.map<FacilityPageListFacility>((Map<String, dynamic> e) => FacilityPageListFacility.fromJson(e)).toList() as M;
  225. }
  226. if (<FacilityPageListFacilityType>[] is M) {
  227. return data.map<FacilityPageListFacilityType>((Map<String, dynamic> e) => FacilityPageListFacilityType.fromJson(e)).toList() as M;
  228. }
  229. if (<FacilityPageListTimePeriod>[] is M) {
  230. return data.map<FacilityPageListTimePeriod>((Map<String, dynamic> e) => FacilityPageListTimePeriod.fromJson(e)).toList() as M;
  231. }
  232. if (<FacilityPageListAccount>[] is M) {
  233. return data.map<FacilityPageListAccount>((Map<String, dynamic> e) => FacilityPageListAccount.fromJson(e)).toList() as M;
  234. }
  235. if (<FeedbackDetailEntity>[] is M) {
  236. return data.map<FeedbackDetailEntity>((Map<String, dynamic> e) => FeedbackDetailEntity.fromJson(e)).toList() as M;
  237. }
  238. if (<FeedbackDetailReplies>[] is M) {
  239. return data.map<FeedbackDetailReplies>((Map<String, dynamic> e) => FeedbackDetailReplies.fromJson(e)).toList() as M;
  240. }
  241. if (<FeedbackListEntity>[] is M) {
  242. return data.map<FeedbackListEntity>((Map<String, dynamic> e) => FeedbackListEntity.fromJson(e)).toList() as M;
  243. }
  244. if (<FeedbackItemEntity>[] is M) {
  245. return data.map<FeedbackItemEntity>((Map<String, dynamic> e) => FeedbackItemEntity.fromJson(e)).toList() as M;
  246. }
  247. if (<FormContentEntity>[] is M) {
  248. return data.map<FormContentEntity>((Map<String, dynamic> e) => FormContentEntity.fromJson(e)).toList() as M;
  249. }
  250. if (<FormDetailEntity>[] is M) {
  251. return data.map<FormDetailEntity>((Map<String, dynamic> e) => FormDetailEntity.fromJson(e)).toList() as M;
  252. }
  253. if (<FormListEntity>[] is M) {
  254. return data.map<FormListEntity>((Map<String, dynamic> e) => FormListEntity.fromJson(e)).toList() as M;
  255. }
  256. if (<FormOptionEntity>[] is M) {
  257. return data.map<FormOptionEntity>((Map<String, dynamic> e) => FormOptionEntity.fromJson(e)).toList() as M;
  258. }
  259. if (<FormSubmittedEntity>[] is M) {
  260. return data.map<FormSubmittedEntity>((Map<String, dynamic> e) => FormSubmittedEntity.fromJson(e)).toList() as M;
  261. }
  262. if (<FormSubmittedEstateOnlineForm>[] is M) {
  263. return data.map<FormSubmittedEstateOnlineForm>((Map<String, dynamic> e) => FormSubmittedEstateOnlineForm.fromJson(e)).toList() as M;
  264. }
  265. if (<FormSubmittedPageEntity>[] is M) {
  266. return data.map<FormSubmittedPageEntity>((Map<String, dynamic> e) => FormSubmittedPageEntity.fromJson(e)).toList() as M;
  267. }
  268. if (<GarageSaleHistoryEntity>[] is M) {
  269. return data.map<GarageSaleHistoryEntity>((Map<String, dynamic> e) => GarageSaleHistoryEntity.fromJson(e)).toList() as M;
  270. }
  271. if (<GarageSaleHistoryList>[] is M) {
  272. return data.map<GarageSaleHistoryList>((Map<String, dynamic> e) => GarageSaleHistoryList.fromJson(e)).toList() as M;
  273. }
  274. if (<GarageSaleHistoryListOrderProducts>[] is M) {
  275. return data.map<GarageSaleHistoryListOrderProducts>((Map<String, dynamic> e) => GarageSaleHistoryListOrderProducts.fromJson(e)).toList() as M;
  276. }
  277. if (<GarageSaleRentDetailEntity>[] is M) {
  278. return data.map<GarageSaleRentDetailEntity>((Map<String, dynamic> e) => GarageSaleRentDetailEntity.fromJson(e)).toList() as M;
  279. }
  280. if (<GarageSaleRentDetailAccount>[] is M) {
  281. return data.map<GarageSaleRentDetailAccount>((Map<String, dynamic> e) => GarageSaleRentDetailAccount.fromJson(e)).toList() as M;
  282. }
  283. if (<GarageSaleRentEntity>[] is M) {
  284. return data.map<GarageSaleRentEntity>((Map<String, dynamic> e) => GarageSaleRentEntity.fromJson(e)).toList() as M;
  285. }
  286. if (<GarageSaleRentList>[] is M) {
  287. return data.map<GarageSaleRentList>((Map<String, dynamic> e) => GarageSaleRentList.fromJson(e)).toList() as M;
  288. }
  289. if (<GarageSaleRentListAccount>[] is M) {
  290. return data.map<GarageSaleRentListAccount>((Map<String, dynamic> e) => GarageSaleRentListAccount.fromJson(e)).toList() as M;
  291. }
  292. if (<HomeListEntity>[] is M) {
  293. return data.map<HomeListEntity>((Map<String, dynamic> e) => HomeListEntity.fromJson(e)).toList() as M;
  294. }
  295. if (<HomeListBanners>[] is M) {
  296. return data.map<HomeListBanners>((Map<String, dynamic> e) => HomeListBanners.fromJson(e)).toList() as M;
  297. }
  298. if (<HomeListLatestTransactions>[] is M) {
  299. return data.map<HomeListLatestTransactions>((Map<String, dynamic> e) => HomeListLatestTransactions.fromJson(e)).toList() as M;
  300. }
  301. if (<HomeListPropertyNews>[] is M) {
  302. return data.map<HomeListPropertyNews>((Map<String, dynamic> e) => HomeListPropertyNews.fromJson(e)).toList() as M;
  303. }
  304. if (<IdNameEntity>[] is M) {
  305. return data.map<IdNameEntity>((Map<String, dynamic> e) => IdNameEntity.fromJson(e)).toList() as M;
  306. }
  307. if (<LatestNewsDetailEntity>[] is M) {
  308. return data.map<LatestNewsDetailEntity>((Map<String, dynamic> e) => LatestNewsDetailEntity.fromJson(e)).toList() as M;
  309. }
  310. if (<LatestNewsPageEntity>[] is M) {
  311. return data.map<LatestNewsPageEntity>((Map<String, dynamic> e) => LatestNewsPageEntity.fromJson(e)).toList() as M;
  312. }
  313. if (<LatestNewsList>[] is M) {
  314. return data.map<LatestNewsList>((Map<String, dynamic> e) => LatestNewsList.fromJson(e)).toList() as M;
  315. }
  316. if (<MyfollowingListEntity>[] is M) {
  317. return data.map<MyfollowingListEntity>((Map<String, dynamic> e) => MyfollowingListEntity.fromJson(e)).toList() as M;
  318. }
  319. if (<MypostsNewsfeedEntity>[] is M) {
  320. return data.map<MypostsNewsfeedEntity>((Map<String, dynamic> e) => MypostsNewsfeedEntity.fromJson(e)).toList() as M;
  321. }
  322. if (<MypostsNewsfeedList>[] is M) {
  323. return data.map<MypostsNewsfeedList>((Map<String, dynamic> e) => MypostsNewsfeedList.fromJson(e)).toList() as M;
  324. }
  325. if (<MypostsNewsfeedListAccount>[] is M) {
  326. return data.map<MypostsNewsfeedListAccount>((Map<String, dynamic> e) => MypostsNewsfeedListAccount.fromJson(e)).toList() as M;
  327. }
  328. if (<MypostsSaleRentEntity>[] is M) {
  329. return data.map<MypostsSaleRentEntity>((Map<String, dynamic> e) => MypostsSaleRentEntity.fromJson(e)).toList() as M;
  330. }
  331. if (<MypostsSaleRentList>[] is M) {
  332. return data.map<MypostsSaleRentList>((Map<String, dynamic> e) => MypostsSaleRentList.fromJson(e)).toList() as M;
  333. }
  334. if (<NewsfeedCommentPublishEntity>[] is M) {
  335. return data.map<NewsfeedCommentPublishEntity>((Map<String, dynamic> e) => NewsfeedCommentPublishEntity.fromJson(e)).toList() as M;
  336. }
  337. if (<NewsfeedDetailEntity>[] is M) {
  338. return data.map<NewsfeedDetailEntity>((Map<String, dynamic> e) => NewsfeedDetailEntity.fromJson(e)).toList() as M;
  339. }
  340. if (<NewsfeedDetailAccount>[] is M) {
  341. return data.map<NewsfeedDetailAccount>((Map<String, dynamic> e) => NewsfeedDetailAccount.fromJson(e)).toList() as M;
  342. }
  343. if (<NewsfeedDetailComments>[] is M) {
  344. return data.map<NewsfeedDetailComments>((Map<String, dynamic> e) => NewsfeedDetailComments.fromJson(e)).toList() as M;
  345. }
  346. if (<NewsfeedDetailCommentsAccount>[] is M) {
  347. return data.map<NewsfeedDetailCommentsAccount>((Map<String, dynamic> e) => NewsfeedDetailCommentsAccount.fromJson(e)).toList() as M;
  348. }
  349. if (<NewsfeedDetailCommentsToAccount>[] is M) {
  350. return data.map<NewsfeedDetailCommentsToAccount>((Map<String, dynamic> e) => NewsfeedDetailCommentsToAccount.fromJson(e)).toList() as M;
  351. }
  352. if (<NewsfeedFollowingEntity>[] is M) {
  353. return data.map<NewsfeedFollowingEntity>((Map<String, dynamic> e) => NewsfeedFollowingEntity.fromJson(e)).toList() as M;
  354. }
  355. if (<NewsfeedFollowingList>[] is M) {
  356. return data.map<NewsfeedFollowingList>((Map<String, dynamic> e) => NewsfeedFollowingList.fromJson(e)).toList() as M;
  357. }
  358. if (<NewsfeedFollowingListAccount>[] is M) {
  359. return data.map<NewsfeedFollowingListAccount>((Map<String, dynamic> e) => NewsfeedFollowingListAccount.fromJson(e)).toList() as M;
  360. }
  361. if (<NewsfeedForyouEntity>[] is M) {
  362. return data.map<NewsfeedForyouEntity>((Map<String, dynamic> e) => NewsfeedForyouEntity.fromJson(e)).toList() as M;
  363. }
  364. if (<NewsfeedForyouList>[] is M) {
  365. return data.map<NewsfeedForyouList>((Map<String, dynamic> e) => NewsfeedForyouList.fromJson(e)).toList() as M;
  366. }
  367. if (<NewsfeedForyouListAccount>[] is M) {
  368. return data.map<NewsfeedForyouListAccount>((Map<String, dynamic> e) => NewsfeedForyouListAccount.fromJson(e)).toList() as M;
  369. }
  370. if (<NewsfeedNewsEntity>[] is M) {
  371. return data.map<NewsfeedNewsEntity>((Map<String, dynamic> e) => NewsfeedNewsEntity.fromJson(e)).toList() as M;
  372. }
  373. if (<NewsfeedNewsList>[] is M) {
  374. return data.map<NewsfeedNewsList>((Map<String, dynamic> e) => NewsfeedNewsList.fromJson(e)).toList() as M;
  375. }
  376. if (<NewsfeedNewsListAccount>[] is M) {
  377. return data.map<NewsfeedNewsListAccount>((Map<String, dynamic> e) => NewsfeedNewsListAccount.fromJson(e)).toList() as M;
  378. }
  379. if (<NoticeBoardAnnounDetailEntity>[] is M) {
  380. return data.map<NoticeBoardAnnounDetailEntity>((Map<String, dynamic> e) => NoticeBoardAnnounDetailEntity.fromJson(e)).toList() as M;
  381. }
  382. if (<NoticeBoardAnnounEntity>[] is M) {
  383. return data.map<NoticeBoardAnnounEntity>((Map<String, dynamic> e) => NoticeBoardAnnounEntity.fromJson(e)).toList() as M;
  384. }
  385. if (<NoticeBoardAnnounList>[] is M) {
  386. return data.map<NoticeBoardAnnounList>((Map<String, dynamic> e) => NoticeBoardAnnounList.fromJson(e)).toList() as M;
  387. }
  388. if (<NoticeBoardDocumentsEntity>[] is M) {
  389. return data.map<NoticeBoardDocumentsEntity>((Map<String, dynamic> e) => NoticeBoardDocumentsEntity.fromJson(e)).toList() as M;
  390. }
  391. if (<NoticeBoardDocumentsList>[] is M) {
  392. return data.map<NoticeBoardDocumentsList>((Map<String, dynamic> e) => NoticeBoardDocumentsList.fromJson(e)).toList() as M;
  393. }
  394. if (<NoticeBoardEventDetailEntity>[] is M) {
  395. return data.map<NoticeBoardEventDetailEntity>((Map<String, dynamic> e) => NoticeBoardEventDetailEntity.fromJson(e)).toList() as M;
  396. }
  397. if (<NoticeBoardEventEntity>[] is M) {
  398. return data.map<NoticeBoardEventEntity>((Map<String, dynamic> e) => NoticeBoardEventEntity.fromJson(e)).toList() as M;
  399. }
  400. if (<NoticeBoardEventList>[] is M) {
  401. return data.map<NoticeBoardEventList>((Map<String, dynamic> e) => NoticeBoardEventList.fromJson(e)).toList() as M;
  402. }
  403. if (<PaidServiceDetailEntity>[] is M) {
  404. return data.map<PaidServiceDetailEntity>((Map<String, dynamic> e) => PaidServiceDetailEntity.fromJson(e)).toList() as M;
  405. }
  406. if (<PaidServiceDetailMerchant>[] is M) {
  407. return data.map<PaidServiceDetailMerchant>((Map<String, dynamic> e) => PaidServiceDetailMerchant.fromJson(e)).toList() as M;
  408. }
  409. if (<PaidServiceDetailCategory>[] is M) {
  410. return data.map<PaidServiceDetailCategory>((Map<String, dynamic> e) => PaidServiceDetailCategory.fromJson(e)).toList() as M;
  411. }
  412. if (<PaidServiceDetailProducts>[] is M) {
  413. return data.map<PaidServiceDetailProducts>((Map<String, dynamic> e) => PaidServiceDetailProducts.fromJson(e)).toList() as M;
  414. }
  415. if (<PaidServiceDetailEvaluations>[] is M) {
  416. return data.map<PaidServiceDetailEvaluations>((Map<String, dynamic> e) => PaidServiceDetailEvaluations.fromJson(e)).toList() as M;
  417. }
  418. if (<PaidServiceDetailEvaluationsAccount>[] is M) {
  419. return data.map<PaidServiceDetailEvaluationsAccount>((Map<String, dynamic> e) => PaidServiceDetailEvaluationsAccount.fromJson(e)).toList() as M;
  420. }
  421. if (<PaidServiceEntity>[] is M) {
  422. return data.map<PaidServiceEntity>((Map<String, dynamic> e) => PaidServiceEntity.fromJson(e)).toList() as M;
  423. }
  424. if (<PaidServiceList>[] is M) {
  425. return data.map<PaidServiceList>((Map<String, dynamic> e) => PaidServiceList.fromJson(e)).toList() as M;
  426. }
  427. if (<PaidServiceListMerchant>[] is M) {
  428. return data.map<PaidServiceListMerchant>((Map<String, dynamic> e) => PaidServiceListMerchant.fromJson(e)).toList() as M;
  429. }
  430. if (<PaidServiceListCategory>[] is M) {
  431. return data.map<PaidServiceListCategory>((Map<String, dynamic> e) => PaidServiceListCategory.fromJson(e)).toList() as M;
  432. }
  433. if (<PaidServicePaySuccessInfoEntity>[] is M) {
  434. return data.map<PaidServicePaySuccessInfoEntity>((Map<String, dynamic> e) => PaidServicePaySuccessInfoEntity.fromJson(e)).toList() as M;
  435. }
  436. if (<PaidServicePaySuccessInfoAccount>[] is M) {
  437. return data.map<PaidServicePaySuccessInfoAccount>((Map<String, dynamic> e) => PaidServicePaySuccessInfoAccount.fromJson(e)).toList() as M;
  438. }
  439. if (<PaidServicePaySuccessInfoOrderService>[] is M) {
  440. return data.map<PaidServicePaySuccessInfoOrderService>((Map<String, dynamic> e) => PaidServicePaySuccessInfoOrderService.fromJson(e)).toList() as M;
  441. }
  442. if (<PaidServicePaySuccessInfoMerchant>[] is M) {
  443. return data.map<PaidServicePaySuccessInfoMerchant>((Map<String, dynamic> e) => PaidServicePaySuccessInfoMerchant.fromJson(e)).toList() as M;
  444. }
  445. if (<PaidServicePaySuccessInfoStaff>[] is M) {
  446. return data.map<PaidServicePaySuccessInfoStaff>((Map<String, dynamic> e) => PaidServicePaySuccessInfoStaff.fromJson(e)).toList() as M;
  447. }
  448. if (<PaidServicePaySuccessInfoOrderProducts>[] is M) {
  449. return data.map<PaidServicePaySuccessInfoOrderProducts>((Map<String, dynamic> e) => PaidServicePaySuccessInfoOrderProducts.fromJson(e)).toList() as M;
  450. }
  451. if (<PaidServicePaySuccessInfoEstate>[] is M) {
  452. return data.map<PaidServicePaySuccessInfoEstate>((Map<String, dynamic> e) => PaidServicePaySuccessInfoEstate.fromJson(e)).toList() as M;
  453. }
  454. if (<PaidServicePaySuccessInfoEstateUnit>[] is M) {
  455. return data.map<PaidServicePaySuccessInfoEstateUnit>((Map<String, dynamic> e) => PaidServicePaySuccessInfoEstateUnit.fromJson(e)).toList() as M;
  456. }
  457. if (<PaymentPageEntity>[] is M) {
  458. return data.map<PaymentPageEntity>((Map<String, dynamic> e) => PaymentPageEntity.fromJson(e)).toList() as M;
  459. }
  460. if (<PaymentPageList>[] is M) {
  461. return data.map<PaymentPageList>((Map<String, dynamic> e) => PaymentPageList.fromJson(e)).toList() as M;
  462. }
  463. if (<PropertyNewsDetailEntity>[] is M) {
  464. return data.map<PropertyNewsDetailEntity>((Map<String, dynamic> e) => PropertyNewsDetailEntity.fromJson(e)).toList() as M;
  465. }
  466. if (<PropertyNewsEntity>[] is M) {
  467. return data.map<PropertyNewsEntity>((Map<String, dynamic> e) => PropertyNewsEntity.fromJson(e)).toList() as M;
  468. }
  469. if (<PropertyNewsList>[] is M) {
  470. return data.map<PropertyNewsList>((Map<String, dynamic> e) => PropertyNewsList.fromJson(e)).toList() as M;
  471. }
  472. if (<PropertySaleRentEntity>[] is M) {
  473. return data.map<PropertySaleRentEntity>((Map<String, dynamic> e) => PropertySaleRentEntity.fromJson(e)).toList() as M;
  474. }
  475. if (<PropertySaleRentList>[] is M) {
  476. return data.map<PropertySaleRentList>((Map<String, dynamic> e) => PropertySaleRentList.fromJson(e)).toList() as M;
  477. }
  478. if (<RepairServiceEntity>[] is M) {
  479. return data.map<RepairServiceEntity>((Map<String, dynamic> e) => RepairServiceEntity.fromJson(e)).toList() as M;
  480. }
  481. if (<RepairServiceList>[] is M) {
  482. return data.map<RepairServiceList>((Map<String, dynamic> e) => RepairServiceList.fromJson(e)).toList() as M;
  483. }
  484. if (<RepairServiceListMerchant>[] is M) {
  485. return data.map<RepairServiceListMerchant>((Map<String, dynamic> e) => RepairServiceListMerchant.fromJson(e)).toList() as M;
  486. }
  487. if (<RepairServiceListCategory>[] is M) {
  488. return data.map<RepairServiceListCategory>((Map<String, dynamic> e) => RepairServiceListCategory.fromJson(e)).toList() as M;
  489. }
  490. if (<RewardsActiveDetailEntity>[] is M) {
  491. return data.map<RewardsActiveDetailEntity>((Map<String, dynamic> e) => RewardsActiveDetailEntity.fromJson(e)).toList() as M;
  492. }
  493. if (<RewardsActiveDetailData>[] is M) {
  494. return data.map<RewardsActiveDetailData>((Map<String, dynamic> e) => RewardsActiveDetailData.fromJson(e)).toList() as M;
  495. }
  496. if (<RewardsActiveDetailDataAccount>[] is M) {
  497. return data.map<RewardsActiveDetailDataAccount>((Map<String, dynamic> e) => RewardsActiveDetailDataAccount.fromJson(e)).toList() as M;
  498. }
  499. if (<RewardsActiveDetailDataReward>[] is M) {
  500. return data.map<RewardsActiveDetailDataReward>((Map<String, dynamic> e) => RewardsActiveDetailDataReward.fromJson(e)).toList() as M;
  501. }
  502. if (<RewardsBuyEntity>[] is M) {
  503. return data.map<RewardsBuyEntity>((Map<String, dynamic> e) => RewardsBuyEntity.fromJson(e)).toList() as M;
  504. }
  505. if (<RewardsBuyReward>[] is M) {
  506. return data.map<RewardsBuyReward>((Map<String, dynamic> e) => RewardsBuyReward.fromJson(e)).toList() as M;
  507. }
  508. if (<RewardsBuyRewardRedeemable>[] is M) {
  509. return data.map<RewardsBuyRewardRedeemable>((Map<String, dynamic> e) => RewardsBuyRewardRedeemable.fromJson(e)).toList() as M;
  510. }
  511. if (<RewardsCategoryEntity>[] is M) {
  512. return data.map<RewardsCategoryEntity>((Map<String, dynamic> e) => RewardsCategoryEntity.fromJson(e)).toList() as M;
  513. }
  514. if (<RewardsDetailEntity>[] is M) {
  515. return data.map<RewardsDetailEntity>((Map<String, dynamic> e) => RewardsDetailEntity.fromJson(e)).toList() as M;
  516. }
  517. if (<RewardsDetailRedeemable>[] is M) {
  518. return data.map<RewardsDetailRedeemable>((Map<String, dynamic> e) => RewardsDetailRedeemable.fromJson(e)).toList() as M;
  519. }
  520. if (<RewardsHistoryEarnedEntity>[] is M) {
  521. return data.map<RewardsHistoryEarnedEntity>((Map<String, dynamic> e) => RewardsHistoryEarnedEntity.fromJson(e)).toList() as M;
  522. }
  523. if (<RewardsHistoryEarnedList>[] is M) {
  524. return data.map<RewardsHistoryEarnedList>((Map<String, dynamic> e) => RewardsHistoryEarnedList.fromJson(e)).toList() as M;
  525. }
  526. if (<RewardsHomeEntity>[] is M) {
  527. return data.map<RewardsHomeEntity>((Map<String, dynamic> e) => RewardsHomeEntity.fromJson(e)).toList() as M;
  528. }
  529. if (<RewardsHomeData>[] is M) {
  530. return data.map<RewardsHomeData>((Map<String, dynamic> e) => RewardsHomeData.fromJson(e)).toList() as M;
  531. }
  532. if (<RewardsHomeDataRewards>[] is M) {
  533. return data.map<RewardsHomeDataRewards>((Map<String, dynamic> e) => RewardsHomeDataRewards.fromJson(e)).toList() as M;
  534. }
  535. if (<RewardsHomeTesEntity>[] is M) {
  536. return data.map<RewardsHomeTesEntity>((Map<String, dynamic> e) => RewardsHomeTesEntity.fromJson(e)).toList() as M;
  537. }
  538. if (<RewardsHomeTesRewards>[] is M) {
  539. return data.map<RewardsHomeTesRewards>((Map<String, dynamic> e) => RewardsHomeTesRewards.fromJson(e)).toList() as M;
  540. }
  541. if (<RewardsHomeTestEntity>[] is M) {
  542. return data.map<RewardsHomeTestEntity>((Map<String, dynamic> e) => RewardsHomeTestEntity.fromJson(e)).toList() as M;
  543. }
  544. if (<RewardsHomeTxEntity>[] is M) {
  545. return data.map<RewardsHomeTxEntity>((Map<String, dynamic> e) => RewardsHomeTxEntity.fromJson(e)).toList() as M;
  546. }
  547. if (<RewardsIndexEntity>[] is M) {
  548. return data.map<RewardsIndexEntity>((Map<String, dynamic> e) => RewardsIndexEntity.fromJson(e)).toList() as M;
  549. }
  550. if (<RewardsIndexContinuous>[] is M) {
  551. return data.map<RewardsIndexContinuous>((Map<String, dynamic> e) => RewardsIndexContinuous.fromJson(e)).toList() as M;
  552. }
  553. if (<RewardsIndexTasks>[] is M) {
  554. return data.map<RewardsIndexTasks>((Map<String, dynamic> e) => RewardsIndexTasks.fromJson(e)).toList() as M;
  555. }
  556. if (<RewardsListEntity>[] is M) {
  557. return data.map<RewardsListEntity>((Map<String, dynamic> e) => RewardsListEntity.fromJson(e)).toList() as M;
  558. }
  559. if (<RewardsListList>[] is M) {
  560. return data.map<RewardsListList>((Map<String, dynamic> e) => RewardsListList.fromJson(e)).toList() as M;
  561. }
  562. if (<RewardsMyDetailEntity>[] is M) {
  563. return data.map<RewardsMyDetailEntity>((Map<String, dynamic> e) => RewardsMyDetailEntity.fromJson(e)).toList() as M;
  564. }
  565. if (<RewardsMyDetailAccount>[] is M) {
  566. return data.map<RewardsMyDetailAccount>((Map<String, dynamic> e) => RewardsMyDetailAccount.fromJson(e)).toList() as M;
  567. }
  568. if (<RewardsMyDetailReward>[] is M) {
  569. return data.map<RewardsMyDetailReward>((Map<String, dynamic> e) => RewardsMyDetailReward.fromJson(e)).toList() as M;
  570. }
  571. if (<RewardsMyEntity>[] is M) {
  572. return data.map<RewardsMyEntity>((Map<String, dynamic> e) => RewardsMyEntity.fromJson(e)).toList() as M;
  573. }
  574. if (<RewardsMyList>[] is M) {
  575. return data.map<RewardsMyList>((Map<String, dynamic> e) => RewardsMyList.fromJson(e)).toList() as M;
  576. }
  577. if (<RewardsMyListReward>[] is M) {
  578. return data.map<RewardsMyListReward>((Map<String, dynamic> e) => RewardsMyListReward.fromJson(e)).toList() as M;
  579. }
  580. if (<RewardsSearchEntity>[] is M) {
  581. return data.map<RewardsSearchEntity>((Map<String, dynamic> e) => RewardsSearchEntity.fromJson(e)).toList() as M;
  582. }
  583. if (<RewardsSearchRewards>[] is M) {
  584. return data.map<RewardsSearchRewards>((Map<String, dynamic> e) => RewardsSearchRewards.fromJson(e)).toList() as M;
  585. }
  586. if (<ServerTime>[] is M) {
  587. return data.map<ServerTime>((Map<String, dynamic> e) => ServerTime.fromJson(e)).toList() as M;
  588. }
  589. if (<ServiceCategoryEntity>[] is M) {
  590. return data.map<ServiceCategoryEntity>((Map<String, dynamic> e) => ServiceCategoryEntity.fromJson(e)).toList() as M;
  591. }
  592. if (<ServiceEvaluateListEntity>[] is M) {
  593. return data.map<ServiceEvaluateListEntity>((Map<String, dynamic> e) => ServiceEvaluateListEntity.fromJson(e)).toList() as M;
  594. }
  595. if (<ServiceEvaluateListList>[] is M) {
  596. return data.map<ServiceEvaluateListList>((Map<String, dynamic> e) => ServiceEvaluateListList.fromJson(e)).toList() as M;
  597. }
  598. if (<ServiceEvaluateListListAccount>[] is M) {
  599. return data.map<ServiceEvaluateListListAccount>((Map<String, dynamic> e) => ServiceEvaluateListListAccount.fromJson(e)).toList() as M;
  600. }
  601. if (<ServiceOrderDetailEntity>[] is M) {
  602. return data.map<ServiceOrderDetailEntity>((Map<String, dynamic> e) => ServiceOrderDetailEntity.fromJson(e)).toList() as M;
  603. }
  604. if (<ServiceOrderDetailAccount>[] is M) {
  605. return data.map<ServiceOrderDetailAccount>((Map<String, dynamic> e) => ServiceOrderDetailAccount.fromJson(e)).toList() as M;
  606. }
  607. if (<ServiceOrderDetailOrderService>[] is M) {
  608. return data.map<ServiceOrderDetailOrderService>((Map<String, dynamic> e) => ServiceOrderDetailOrderService.fromJson(e)).toList() as M;
  609. }
  610. if (<ServiceOrderDetailMerchant>[] is M) {
  611. return data.map<ServiceOrderDetailMerchant>((Map<String, dynamic> e) => ServiceOrderDetailMerchant.fromJson(e)).toList() as M;
  612. }
  613. if (<ServiceOrderDetailStaff>[] is M) {
  614. return data.map<ServiceOrderDetailStaff>((Map<String, dynamic> e) => ServiceOrderDetailStaff.fromJson(e)).toList() as M;
  615. }
  616. if (<ServiceOrderDetailOrderProducts>[] is M) {
  617. return data.map<ServiceOrderDetailOrderProducts>((Map<String, dynamic> e) => ServiceOrderDetailOrderProducts.fromJson(e)).toList() as M;
  618. }
  619. if (<ServiceOrderDetailEstate>[] is M) {
  620. return data.map<ServiceOrderDetailEstate>((Map<String, dynamic> e) => ServiceOrderDetailEstate.fromJson(e)).toList() as M;
  621. }
  622. if (<ServiceOrderDetailEstateUnit>[] is M) {
  623. return data.map<ServiceOrderDetailEstateUnit>((Map<String, dynamic> e) => ServiceOrderDetailEstateUnit.fromJson(e)).toList() as M;
  624. }
  625. if (<ServiceRepairDetailEntity>[] is M) {
  626. return data.map<ServiceRepairDetailEntity>((Map<String, dynamic> e) => ServiceRepairDetailEntity.fromJson(e)).toList() as M;
  627. }
  628. if (<ServiceRepairDetailMerchant>[] is M) {
  629. return data.map<ServiceRepairDetailMerchant>((Map<String, dynamic> e) => ServiceRepairDetailMerchant.fromJson(e)).toList() as M;
  630. }
  631. if (<ServiceRepairDetailCategory>[] is M) {
  632. return data.map<ServiceRepairDetailCategory>((Map<String, dynamic> e) => ServiceRepairDetailCategory.fromJson(e)).toList() as M;
  633. }
  634. if (<ServiceTimePeriodEntity>[] is M) {
  635. return data.map<ServiceTimePeriodEntity>((Map<String, dynamic> e) => ServiceTimePeriodEntity.fromJson(e)).toList() as M;
  636. }
  637. if (<TextKonEntity>[] is M) {
  638. return data.map<TextKonEntity>((Map<String, dynamic> e) => TextKonEntity.fromJson(e)).toList() as M;
  639. }
  640. if (<UserMeEntity>[] is M) {
  641. return data.map<UserMeEntity>((Map<String, dynamic> e) => UserMeEntity.fromJson(e)).toList() as M;
  642. }
  643. if (<UserMeHouseholds>[] is M) {
  644. return data.map<UserMeHouseholds>((Map<String, dynamic> e) => UserMeHouseholds.fromJson(e)).toList() as M;
  645. }
  646. if (<UserMeEstates>[] is M) {
  647. return data.map<UserMeEstates>((Map<String, dynamic> e) => UserMeEstates.fromJson(e)).toList() as M;
  648. }
  649. if (<UserMeEstatesAccounts>[] is M) {
  650. return data.map<UserMeEstatesAccounts>((Map<String, dynamic> e) => UserMeEstatesAccounts.fromJson(e)).toList() as M;
  651. }
  652. if (<UserMeEstatesAccountsUnit>[] is M) {
  653. return data.map<UserMeEstatesAccountsUnit>((Map<String, dynamic> e) => UserMeEstatesAccountsUnit.fromJson(e)).toList() as M;
  654. }
  655. if (<UserMeDefaultUnit>[] is M) {
  656. return data.map<UserMeDefaultUnit>((Map<String, dynamic> e) => UserMeDefaultUnit.fromJson(e)).toList() as M;
  657. }
  658. if (<UserMeInformation>[] is M) {
  659. return data.map<UserMeInformation>((Map<String, dynamic> e) => UserMeInformation.fromJson(e)).toList() as M;
  660. }
  661. if (<VisitorPageEntity>[] is M) {
  662. return data.map<VisitorPageEntity>((Map<String, dynamic> e) => VisitorPageEntity.fromJson(e)).toList() as M;
  663. }
  664. if (<VisitorPageList>[] is M) {
  665. return data.map<VisitorPageList>((Map<String, dynamic> e) => VisitorPageList.fromJson(e)).toList() as M;
  666. }
  667. debugPrint("$M not found");
  668. return null;
  669. }
  670. static M? fromJsonAsT<M>(dynamic json) {
  671. if (json is M) {
  672. return json;
  673. }
  674. if (json is List) {
  675. return _getListChildType<M>(json.map((dynamic e) => e as Map<String, dynamic>).toList());
  676. } else {
  677. return jsonConvert.convert<M>(json);
  678. }
  679. }
  680. }
  681. class JsonConvertClassCollection {
  682. Map<String, JsonConvertFunction> convertFuncMap = {
  683. (AuthLoginEntity).toString(): AuthLoginEntity.fromJson,
  684. (CaptchaImgEntity).toString(): CaptchaImgEntity.fromJson,
  685. (FacilityBookEntity).toString(): FacilityBookEntity.fromJson,
  686. (FacilityBookFacilityType).toString(): FacilityBookFacilityType.fromJson,
  687. (FacilityBookFacilities).toString(): FacilityBookFacilities.fromJson,
  688. (FacilityBookFacilitiesPeriods).toString(): FacilityBookFacilitiesPeriods.fromJson,
  689. (FacilityIndexEntity).toString(): FacilityIndexEntity.fromJson,
  690. (FacilityPageEntity).toString(): FacilityPageEntity.fromJson,
  691. (FacilityDetail).toString(): FacilityDetail.fromJson,
  692. (FacilityPageListBooking).toString(): FacilityPageListBooking.fromJson,
  693. (FacilityPageListFacility).toString(): FacilityPageListFacility.fromJson,
  694. (FacilityPageListFacilityType).toString(): FacilityPageListFacilityType.fromJson,
  695. (FacilityPageListTimePeriod).toString(): FacilityPageListTimePeriod.fromJson,
  696. (FacilityPageListAccount).toString(): FacilityPageListAccount.fromJson,
  697. (FeedbackDetailEntity).toString(): FeedbackDetailEntity.fromJson,
  698. (FeedbackDetailReplies).toString(): FeedbackDetailReplies.fromJson,
  699. (FeedbackListEntity).toString(): FeedbackListEntity.fromJson,
  700. (FeedbackItemEntity).toString(): FeedbackItemEntity.fromJson,
  701. (FormContentEntity).toString(): FormContentEntity.fromJson,
  702. (FormDetailEntity).toString(): FormDetailEntity.fromJson,
  703. (FormListEntity).toString(): FormListEntity.fromJson,
  704. (FormOptionEntity).toString(): FormOptionEntity.fromJson,
  705. (FormSubmittedEntity).toString(): FormSubmittedEntity.fromJson,
  706. (FormSubmittedEstateOnlineForm).toString(): FormSubmittedEstateOnlineForm.fromJson,
  707. (FormSubmittedPageEntity).toString(): FormSubmittedPageEntity.fromJson,
  708. (GarageSaleHistoryEntity).toString(): GarageSaleHistoryEntity.fromJson,
  709. (GarageSaleHistoryList).toString(): GarageSaleHistoryList.fromJson,
  710. (GarageSaleHistoryListOrderProducts).toString(): GarageSaleHistoryListOrderProducts.fromJson,
  711. (GarageSaleRentDetailEntity).toString(): GarageSaleRentDetailEntity.fromJson,
  712. (GarageSaleRentDetailAccount).toString(): GarageSaleRentDetailAccount.fromJson,
  713. (GarageSaleRentEntity).toString(): GarageSaleRentEntity.fromJson,
  714. (GarageSaleRentList).toString(): GarageSaleRentList.fromJson,
  715. (GarageSaleRentListAccount).toString(): GarageSaleRentListAccount.fromJson,
  716. (HomeListEntity).toString(): HomeListEntity.fromJson,
  717. (HomeListBanners).toString(): HomeListBanners.fromJson,
  718. (HomeListLatestTransactions).toString(): HomeListLatestTransactions.fromJson,
  719. (HomeListPropertyNews).toString(): HomeListPropertyNews.fromJson,
  720. (IdNameEntity).toString(): IdNameEntity.fromJson,
  721. (LatestNewsDetailEntity).toString(): LatestNewsDetailEntity.fromJson,
  722. (LatestNewsPageEntity).toString(): LatestNewsPageEntity.fromJson,
  723. (LatestNewsList).toString(): LatestNewsList.fromJson,
  724. (MyfollowingListEntity).toString(): MyfollowingListEntity.fromJson,
  725. (MypostsNewsfeedEntity).toString(): MypostsNewsfeedEntity.fromJson,
  726. (MypostsNewsfeedList).toString(): MypostsNewsfeedList.fromJson,
  727. (MypostsNewsfeedListAccount).toString(): MypostsNewsfeedListAccount.fromJson,
  728. (MypostsSaleRentEntity).toString(): MypostsSaleRentEntity.fromJson,
  729. (MypostsSaleRentList).toString(): MypostsSaleRentList.fromJson,
  730. (NewsfeedCommentPublishEntity).toString(): NewsfeedCommentPublishEntity.fromJson,
  731. (NewsfeedDetailEntity).toString(): NewsfeedDetailEntity.fromJson,
  732. (NewsfeedDetailAccount).toString(): NewsfeedDetailAccount.fromJson,
  733. (NewsfeedDetailComments).toString(): NewsfeedDetailComments.fromJson,
  734. (NewsfeedDetailCommentsAccount).toString(): NewsfeedDetailCommentsAccount.fromJson,
  735. (NewsfeedDetailCommentsToAccount).toString(): NewsfeedDetailCommentsToAccount.fromJson,
  736. (NewsfeedFollowingEntity).toString(): NewsfeedFollowingEntity.fromJson,
  737. (NewsfeedFollowingList).toString(): NewsfeedFollowingList.fromJson,
  738. (NewsfeedFollowingListAccount).toString(): NewsfeedFollowingListAccount.fromJson,
  739. (NewsfeedForyouEntity).toString(): NewsfeedForyouEntity.fromJson,
  740. (NewsfeedForyouList).toString(): NewsfeedForyouList.fromJson,
  741. (NewsfeedForyouListAccount).toString(): NewsfeedForyouListAccount.fromJson,
  742. (NewsfeedNewsEntity).toString(): NewsfeedNewsEntity.fromJson,
  743. (NewsfeedNewsList).toString(): NewsfeedNewsList.fromJson,
  744. (NewsfeedNewsListAccount).toString(): NewsfeedNewsListAccount.fromJson,
  745. (NoticeBoardAnnounDetailEntity).toString(): NoticeBoardAnnounDetailEntity.fromJson,
  746. (NoticeBoardAnnounEntity).toString(): NoticeBoardAnnounEntity.fromJson,
  747. (NoticeBoardAnnounList).toString(): NoticeBoardAnnounList.fromJson,
  748. (NoticeBoardDocumentsEntity).toString(): NoticeBoardDocumentsEntity.fromJson,
  749. (NoticeBoardDocumentsList).toString(): NoticeBoardDocumentsList.fromJson,
  750. (NoticeBoardEventDetailEntity).toString(): NoticeBoardEventDetailEntity.fromJson,
  751. (NoticeBoardEventEntity).toString(): NoticeBoardEventEntity.fromJson,
  752. (NoticeBoardEventList).toString(): NoticeBoardEventList.fromJson,
  753. (PaidServiceDetailEntity).toString(): PaidServiceDetailEntity.fromJson,
  754. (PaidServiceDetailMerchant).toString(): PaidServiceDetailMerchant.fromJson,
  755. (PaidServiceDetailCategory).toString(): PaidServiceDetailCategory.fromJson,
  756. (PaidServiceDetailProducts).toString(): PaidServiceDetailProducts.fromJson,
  757. (PaidServiceDetailEvaluations).toString(): PaidServiceDetailEvaluations.fromJson,
  758. (PaidServiceDetailEvaluationsAccount).toString(): PaidServiceDetailEvaluationsAccount.fromJson,
  759. (PaidServiceEntity).toString(): PaidServiceEntity.fromJson,
  760. (PaidServiceList).toString(): PaidServiceList.fromJson,
  761. (PaidServiceListMerchant).toString(): PaidServiceListMerchant.fromJson,
  762. (PaidServiceListCategory).toString(): PaidServiceListCategory.fromJson,
  763. (PaidServicePaySuccessInfoEntity).toString(): PaidServicePaySuccessInfoEntity.fromJson,
  764. (PaidServicePaySuccessInfoAccount).toString(): PaidServicePaySuccessInfoAccount.fromJson,
  765. (PaidServicePaySuccessInfoOrderService).toString(): PaidServicePaySuccessInfoOrderService.fromJson,
  766. (PaidServicePaySuccessInfoMerchant).toString(): PaidServicePaySuccessInfoMerchant.fromJson,
  767. (PaidServicePaySuccessInfoStaff).toString(): PaidServicePaySuccessInfoStaff.fromJson,
  768. (PaidServicePaySuccessInfoOrderProducts).toString(): PaidServicePaySuccessInfoOrderProducts.fromJson,
  769. (PaidServicePaySuccessInfoEstate).toString(): PaidServicePaySuccessInfoEstate.fromJson,
  770. (PaidServicePaySuccessInfoEstateUnit).toString(): PaidServicePaySuccessInfoEstateUnit.fromJson,
  771. (PaymentPageEntity).toString(): PaymentPageEntity.fromJson,
  772. (PaymentPageList).toString(): PaymentPageList.fromJson,
  773. (PropertyNewsDetailEntity).toString(): PropertyNewsDetailEntity.fromJson,
  774. (PropertyNewsEntity).toString(): PropertyNewsEntity.fromJson,
  775. (PropertyNewsList).toString(): PropertyNewsList.fromJson,
  776. (PropertySaleRentEntity).toString(): PropertySaleRentEntity.fromJson,
  777. (PropertySaleRentList).toString(): PropertySaleRentList.fromJson,
  778. (RepairServiceEntity).toString(): RepairServiceEntity.fromJson,
  779. (RepairServiceList).toString(): RepairServiceList.fromJson,
  780. (RepairServiceListMerchant).toString(): RepairServiceListMerchant.fromJson,
  781. (RepairServiceListCategory).toString(): RepairServiceListCategory.fromJson,
  782. (RewardsActiveDetailEntity).toString(): RewardsActiveDetailEntity.fromJson,
  783. (RewardsActiveDetailData).toString(): RewardsActiveDetailData.fromJson,
  784. (RewardsActiveDetailDataAccount).toString(): RewardsActiveDetailDataAccount.fromJson,
  785. (RewardsActiveDetailDataReward).toString(): RewardsActiveDetailDataReward.fromJson,
  786. (RewardsBuyEntity).toString(): RewardsBuyEntity.fromJson,
  787. (RewardsBuyReward).toString(): RewardsBuyReward.fromJson,
  788. (RewardsBuyRewardRedeemable).toString(): RewardsBuyRewardRedeemable.fromJson,
  789. (RewardsCategoryEntity).toString(): RewardsCategoryEntity.fromJson,
  790. (RewardsDetailEntity).toString(): RewardsDetailEntity.fromJson,
  791. (RewardsDetailRedeemable).toString(): RewardsDetailRedeemable.fromJson,
  792. (RewardsHistoryEarnedEntity).toString(): RewardsHistoryEarnedEntity.fromJson,
  793. (RewardsHistoryEarnedList).toString(): RewardsHistoryEarnedList.fromJson,
  794. (RewardsHomeEntity).toString(): RewardsHomeEntity.fromJson,
  795. (RewardsHomeData).toString(): RewardsHomeData.fromJson,
  796. (RewardsHomeDataRewards).toString(): RewardsHomeDataRewards.fromJson,
  797. (RewardsHomeTesEntity).toString(): RewardsHomeTesEntity.fromJson,
  798. (RewardsHomeTesRewards).toString(): RewardsHomeTesRewards.fromJson,
  799. (RewardsHomeTestEntity).toString(): RewardsHomeTestEntity.fromJson,
  800. (RewardsHomeTxEntity).toString(): RewardsHomeTxEntity.fromJson,
  801. (RewardsIndexEntity).toString(): RewardsIndexEntity.fromJson,
  802. (RewardsIndexContinuous).toString(): RewardsIndexContinuous.fromJson,
  803. (RewardsIndexTasks).toString(): RewardsIndexTasks.fromJson,
  804. (RewardsListEntity).toString(): RewardsListEntity.fromJson,
  805. (RewardsListList).toString(): RewardsListList.fromJson,
  806. (RewardsMyDetailEntity).toString(): RewardsMyDetailEntity.fromJson,
  807. (RewardsMyDetailAccount).toString(): RewardsMyDetailAccount.fromJson,
  808. (RewardsMyDetailReward).toString(): RewardsMyDetailReward.fromJson,
  809. (RewardsMyEntity).toString(): RewardsMyEntity.fromJson,
  810. (RewardsMyList).toString(): RewardsMyList.fromJson,
  811. (RewardsMyListReward).toString(): RewardsMyListReward.fromJson,
  812. (RewardsSearchEntity).toString(): RewardsSearchEntity.fromJson,
  813. (RewardsSearchRewards).toString(): RewardsSearchRewards.fromJson,
  814. (ServerTime).toString(): ServerTime.fromJson,
  815. (ServiceCategoryEntity).toString(): ServiceCategoryEntity.fromJson,
  816. (ServiceEvaluateListEntity).toString(): ServiceEvaluateListEntity.fromJson,
  817. (ServiceEvaluateListList).toString(): ServiceEvaluateListList.fromJson,
  818. (ServiceEvaluateListListAccount).toString(): ServiceEvaluateListListAccount.fromJson,
  819. (ServiceOrderDetailEntity).toString(): ServiceOrderDetailEntity.fromJson,
  820. (ServiceOrderDetailAccount).toString(): ServiceOrderDetailAccount.fromJson,
  821. (ServiceOrderDetailOrderService).toString(): ServiceOrderDetailOrderService.fromJson,
  822. (ServiceOrderDetailMerchant).toString(): ServiceOrderDetailMerchant.fromJson,
  823. (ServiceOrderDetailStaff).toString(): ServiceOrderDetailStaff.fromJson,
  824. (ServiceOrderDetailOrderProducts).toString(): ServiceOrderDetailOrderProducts.fromJson,
  825. (ServiceOrderDetailEstate).toString(): ServiceOrderDetailEstate.fromJson,
  826. (ServiceOrderDetailEstateUnit).toString(): ServiceOrderDetailEstateUnit.fromJson,
  827. (ServiceRepairDetailEntity).toString(): ServiceRepairDetailEntity.fromJson,
  828. (ServiceRepairDetailMerchant).toString(): ServiceRepairDetailMerchant.fromJson,
  829. (ServiceRepairDetailCategory).toString(): ServiceRepairDetailCategory.fromJson,
  830. (ServiceTimePeriodEntity).toString(): ServiceTimePeriodEntity.fromJson,
  831. (TextKonEntity).toString(): TextKonEntity.fromJson,
  832. (UserMeEntity).toString(): UserMeEntity.fromJson,
  833. (UserMeHouseholds).toString(): UserMeHouseholds.fromJson,
  834. (UserMeEstates).toString(): UserMeEstates.fromJson,
  835. (UserMeEstatesAccounts).toString(): UserMeEstatesAccounts.fromJson,
  836. (UserMeEstatesAccountsUnit).toString(): UserMeEstatesAccountsUnit.fromJson,
  837. (UserMeDefaultUnit).toString(): UserMeDefaultUnit.fromJson,
  838. (UserMeInformation).toString(): UserMeInformation.fromJson,
  839. (VisitorPageEntity).toString(): VisitorPageEntity.fromJson,
  840. (VisitorPageList).toString(): VisitorPageList.fromJson,
  841. };
  842. bool containsKey(String type) {
  843. return convertFuncMap.containsKey(type);
  844. }
  845. JsonConvertFunction? operator [](String key) {
  846. return convertFuncMap[key];
  847. }
  848. }