GetPoi.fromJson constructor

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

Implementation

factory GetPoi.fromJson(Map<String, dynamic> json) => GetPoi(
      success: json["success"],
      data: json["data"] == null
          ? null
          : List<Datum>.from(json["data"].map((x) => Datum.fromJson(x))),
    );