add account delection page
This commit is contained in:
@@ -23,6 +23,8 @@ class Setting {
|
||||
final String? termsMm;
|
||||
String? about;
|
||||
String? courierWebsite;
|
||||
String? deactivateTextEn;
|
||||
String? deactivateTextMm;
|
||||
|
||||
List<String> shipmentTypes;
|
||||
|
||||
@@ -40,7 +42,9 @@ class Setting {
|
||||
this.termsMm,
|
||||
this.about,
|
||||
this.shipmentTypes = const [],
|
||||
this.courierWebsite});
|
||||
this.courierWebsite,
|
||||
this.deactivateTextEn,
|
||||
this.deactivateTextMm});
|
||||
|
||||
factory Setting.fromMap(Map<String, dynamic> map) {
|
||||
return Setting(
|
||||
@@ -58,6 +62,8 @@ class Setting {
|
||||
termsMm: map['terms_mm_markdown'],
|
||||
shipmentTypes: List.from(map['shipment_types']),
|
||||
courierWebsite: map['courier_website'],
|
||||
deactivateTextEn: map['deactivate_text_en']??"",
|
||||
deactivateTextMm: map['deactivate_text_mm']??""
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user