LocationModel.fromMap constructor

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

Implementation

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