ambil data stok bantuan

This commit is contained in:
Khafidh Fuadi
2025-03-11 12:44:32 +07:00
parent d24832ea82
commit eec06ba79d
57 changed files with 4306 additions and 1590 deletions

View File

@ -46,9 +46,8 @@ class LokasiPenyaluranModel {
kabupaten: json["kabupaten"],
provinsi: json["provinsi"],
kodePos: json["kode_pos"],
latitude: json["latitude"] != null ? json["latitude"].toDouble() : null,
longitude:
json["longitude"] != null ? json["longitude"].toDouble() : null,
latitude: json["latitude"]?.toDouble(),
longitude: json["longitude"]?.toDouble(),
petugasDesaId: json["petugas_desa_id"],
createdAt: DateTime.parse(json["created_at"]),
updatedAt: json["updated_at"] == null