Location.fromMap constructor

Location.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Location.fromMap(Map<String, dynamic> json) => Location(
      long: json["long"]?.toDouble(),
      lat: json["lat"]?.toDouble(),
    );