ApiData.fromJson constructor

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

Implementation

factory ApiData.fromJson(Map<String, dynamic> json) => ApiData(
      slug: json["slug"],
      description: json["description"],
      links: Links.fromJson(json["_links"]),
    );