added qrcode generator and qrcode scanner, create the kurir profile page

This commit is contained in:
kicap1992
2022-07-01 05:01:30 +08:00
parent a6c69c1164
commit dd6ff664cb
21 changed files with 919 additions and 184 deletions

View File

@ -5,6 +5,7 @@
class KurirModel {
String? id;
String? nama;
String? nik;
String? email;
String? no_telp;
String? alamat;
@ -18,6 +19,7 @@ class KurirModel {
KurirModel({
this.id,
this.nama,
this.nik,
this.email,
this.no_telp,
this.alamat,
@ -32,6 +34,7 @@ class KurirModel {
factory KurirModel.fromJson(Map<String, dynamic> json) => KurirModel(
id: json["_id"],
nama: json["nama"],
nik: json["nik"],
email: json["email"],
no_telp: json["no_telp"],
alamat: json["alamat"],
@ -46,6 +49,7 @@ class KurirModel {
Map<String, dynamic> toJson() => {
"_id": id,
"nama": nama,
"nik": nik,
"email": email,
"no_telp": no_telp,
"alamat": alamat,