|
@@ -15,6 +15,7 @@ import 'package:domain/entity/form_content_entity.dart';
|
|
|
import 'package:domain/entity/form_detail_entity.dart';
|
|
|
import 'package:domain/entity/form_list_entity.dart';
|
|
|
import 'package:domain/entity/form_option_entity.dart';
|
|
|
+import 'package:domain/entity/form_order_entity.dart';
|
|
|
import 'package:domain/entity/form_submitted_entity.dart';
|
|
|
import 'package:domain/entity/form_submitted_page_entity.dart';
|
|
|
import 'package:domain/entity/garage_sale_history_entity.dart';
|
|
@@ -40,6 +41,7 @@ import 'package:domain/entity/notice_board_event_entity.dart';
|
|
|
import 'package:domain/entity/paid_service_detail_entity.dart';
|
|
|
import 'package:domain/entity/paid_service_entity.dart';
|
|
|
import 'package:domain/entity/paid_service_pay_success_info_entity.dart';
|
|
|
+import 'package:domain/entity/payment_intent_entity.dart';
|
|
|
import 'package:domain/entity/payment_page_entity.dart';
|
|
|
import 'package:domain/entity/property_news_detail_entity.dart';
|
|
|
import 'package:domain/entity/property_news_entity.dart';
|
|
@@ -267,6 +269,12 @@ class JsonConvert {
|
|
|
if (<FormOptionEntity>[] is M) {
|
|
|
return data.map<FormOptionEntity>((Map<String, dynamic> e) => FormOptionEntity.fromJson(e)).toList() as M;
|
|
|
}
|
|
|
+ if (<FormOrderEntity>[] is M) {
|
|
|
+ return data.map<FormOrderEntity>((Map<String, dynamic> e) => FormOrderEntity.fromJson(e)).toList() as M;
|
|
|
+ }
|
|
|
+ if (<FormOrderOrder>[] is M) {
|
|
|
+ return data.map<FormOrderOrder>((Map<String, dynamic> e) => FormOrderOrder.fromJson(e)).toList() as M;
|
|
|
+ }
|
|
|
if (<FormSubmittedEntity>[] is M) {
|
|
|
return data.map<FormSubmittedEntity>((Map<String, dynamic> e) => FormSubmittedEntity.fromJson(e)).toList() as M;
|
|
|
}
|
|
@@ -465,6 +473,9 @@ class JsonConvert {
|
|
|
if (<PaidServicePaySuccessInfoEstateUnit>[] is M) {
|
|
|
return data.map<PaidServicePaySuccessInfoEstateUnit>((Map<String, dynamic> e) => PaidServicePaySuccessInfoEstateUnit.fromJson(e)).toList() as M;
|
|
|
}
|
|
|
+ if (<PaymentIntentEntity>[] is M) {
|
|
|
+ return data.map<PaymentIntentEntity>((Map<String, dynamic> e) => PaymentIntentEntity.fromJson(e)).toList() as M;
|
|
|
+ }
|
|
|
if (<PaymentPageEntity>[] is M) {
|
|
|
return data.map<PaymentPageEntity>((Map<String, dynamic> e) => PaymentPageEntity.fromJson(e)).toList() as M;
|
|
|
}
|
|
@@ -729,6 +740,8 @@ class JsonConvertClassCollection {
|
|
|
(FormDetailEntity).toString(): FormDetailEntity.fromJson,
|
|
|
(FormListEntity).toString(): FormListEntity.fromJson,
|
|
|
(FormOptionEntity).toString(): FormOptionEntity.fromJson,
|
|
|
+ (FormOrderEntity).toString(): FormOrderEntity.fromJson,
|
|
|
+ (FormOrderOrder).toString(): FormOrderOrder.fromJson,
|
|
|
(FormSubmittedEntity).toString(): FormSubmittedEntity.fromJson,
|
|
|
(FormSubmittedEstateOnlineForm).toString(): FormSubmittedEstateOnlineForm.fromJson,
|
|
|
(FormSubmittedPageEntity).toString(): FormSubmittedPageEntity.fromJson,
|
|
@@ -795,6 +808,7 @@ class JsonConvertClassCollection {
|
|
|
(PaidServicePaySuccessInfoOrderProducts).toString(): PaidServicePaySuccessInfoOrderProducts.fromJson,
|
|
|
(PaidServicePaySuccessInfoEstate).toString(): PaidServicePaySuccessInfoEstate.fromJson,
|
|
|
(PaidServicePaySuccessInfoEstateUnit).toString(): PaidServicePaySuccessInfoEstateUnit.fromJson,
|
|
|
+ (PaymentIntentEntity).toString(): PaymentIntentEntity.fromJson,
|
|
|
(PaymentPageEntity).toString(): PaymentPageEntity.fromJson,
|
|
|
(PaymentPageList).toString(): PaymentPageList.fromJson,
|
|
|
(PropertyNewsDetailEntity).toString(): PropertyNewsDetailEntity.fromJson,
|