StoreModel.fromJson constructor Null safety
Implementation
factory StoreModel.fromJson(Map<String, dynamic> json) => StoreModel(
id: json["id"],
name: json["name"],
latitude:
json["latitude"] == null ? null : json["latitude"]!.toDouble(),
longitude:
json["longitude"] == null ? null : json["longitude"]!.toDouble(),
description: json["description"],
mobile: json["mobile"],
telephone: json["telephone"],
);