PlaceModel.fromJson constructor

PlaceModel.fromJson(
  1. Map<String, dynamic> json
)

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'],
  );
}