Meta.fromJson constructor

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

Implementation

factory Meta.fromJson(Map<String, dynamic> json) => Meta(
      currentPage: json["current_page"],
      from: json["from"],
      lastPage: json["last_page"],
      links: List<Link>.from(json["links"].map((x) => Link.fromJson(x))),
      path: json["path"],
      perPage: json["per_page"],
      to: json["to"],
      total: json["total"],
    );