LocationDropdownModel.fromJson constructor

LocationDropdownModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LocationDropdownModel.fromJson(Map<String, dynamic> json) {
  return LocationDropdownModel(
    id: json["id"],
    name: json["name"],
    query: json["query"],
  );
}