step 15 : selected ke edit

This commit is contained in:
sindhu
2025-02-18 05:46:59 +07:00
parent a13271fa73
commit 6af18dbe58
16 changed files with 739 additions and 19 deletions

View File

@@ -20,13 +20,13 @@ class PersonKtp {
// Convert JSON to Model
factory PersonKtp.fromJson(Map<String, dynamic> json) {
return PersonKtp(
personID: json['Person_ID'],
personNIK: json['Person_NIK'],
personName: json['Person_Name'],
personDob: json['Person_Dob'],
personSex: json['Person_Sex'],
personUrl: json['Person_Url'],
m_sexname: json['m_sexname'],
personID: json['Person_ID'] ?? "",
personNIK: json['Person_NIK'] ?? "",
personName: json['Person_Name'] ?? "",
personDob: json['Person_Dob'] ?? DateTime.now(),
personSex: json['Person_Sex'] ?? "",
personUrl: json['Person_Url'] ?? "",
m_sexname: json['m_sexname'] ?? "",
);
}