We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd00b5c commit 7a56c67Copy full SHA for 7a56c67
7 files changed
lib/models/shopinbit/shopinbit_request_draft.dart
@@ -3,20 +3,23 @@ import 'shopinbit_enums.dart';
3
class ShopinbitRequestDraft {
4
final ShopInBitCategory category;
5
final String requestDescription;
6
- final String deliveryCountry;
+ final String deliveryCountryName;
7
+ final String deliveryCountryCode;
8
final String? voucherCode;
9
10
ShopinbitRequestDraft({
11
required this.category,
12
required this.requestDescription,
- required this.deliveryCountry,
13
+ required this.deliveryCountryName,
14
+ required this.deliveryCountryCode,
15
required this.voucherCode,
16
});
17
18
Map<String, dynamic> toMap() => {
19
"category": category.apiValue,
20
"requestDescription": requestDescription,
- "deliveryCountry": deliveryCountry,
21
+ "deliveryCountryName": deliveryCountryName,
22
+ "deliveryCountryCode": deliveryCountryCode,
23
"voucherCode": voucherCode,
24
};
25
0 commit comments