class ModelAutoCompletePegawai {
  ModelAutoCompletePegawai({
    this.id,
    this.nama,
    this.selected = false
  });

  String? id;
  String? nama;
  bool selected;

  factory ModelAutoCompletePegawai.fromJson(Map<String, dynamic> json) => ModelAutoCompletePegawai(
    id: json["id"] == null ? null : json["id"],
    nama: json["nama"] == null ? null : json["nama"],
  );

  Map<String, dynamic> toJson() => {
    "id": id == null ? null : id,
    "nama": nama == null ? null : nama,
  };
}