DetailLocation.fromJson constructor

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

Implementation

DetailLocation.fromJson(Map<String, dynamic> json) {
  if (json["lat"] is double) lat = json["lat"];
  if (json["lng"] is double) lng = json["lng"];
}