PlaceModel.fromJson constructor
Implementation
factory PlaceModel.fromJson(Map<String, dynamic> json) {
return PlaceModel(
imagePaths: json['imagePath'],
name: json['name'],
openInfoTime: json['openInfo'],
description: json['description'],
subTitleDescription: json['subTitleDescription'],
location: json['location'],
rating: json['rating'],
reviewCount: json['reviewCount'],
mapLink: json['mapLink'],
mapImagePath: json['mapImagePath'],
);
}