step 3 : hapus ai_barcode_scanner, ai barcode, update permission_handler, flutter_map,latlong2

This commit is contained in:
sindhu
2025-04-11 13:39:17 +07:00
parent aa05bb5d51
commit 25fdce45f9
141 changed files with 19594 additions and 165 deletions

View File

@@ -0,0 +1,44 @@
class HistoryModel {
String? id;
int? tipeid;
String? tipe;
String? noSuratJalan;
String? nama;
String? distance;
String? cdate;
String? ispending;
HistoryModel(
{this.id,
this.tipeid,
this.tipe,
this.noSuratJalan,
this.nama,
this.distance,
this.cdate,
this.ispending});
HistoryModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
tipeid = int.parse(json['tipeid']);
tipe = json['tipe'];
noSuratJalan = json['no_surat_jalan'];
nama = json['nama'];
distance = json['distance'];
cdate = json['cdate'];
ispending = json['ispending'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['tipeid'] = this.tipeid;
data['tipe'] = this.tipe;
data['no_surat_jalan'] = this.noSuratJalan;
data['nama'] = this.nama;
data['distance'] = this.distance;
data['cdate'] = this.cdate;
data['ispending'] = this.ispending;
return data;
}
}