LocationDataModel.fromMap constructor

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

Implementation

factory LocationDataModel.fromMap(Map<String, dynamic> json) => LocationDataModel(
  status: json["status"],
  code: json["code"],
  timestamp: json["timestamp"],
  data: json["data"] == null ? null : Data.fromMap(json["data"]),
);