Meta.fromJson constructor
Implementation
factory Meta.fromJson(Map<String, dynamic> json) => Meta(
currentPage: readInt(json["current_page"], fallback: 1),
from: readIntOrNull(json["from"]),
lastPage: readInt(json["last_page"], fallback: 1),
links: readMapList(json["links"]).map(Link.fromJson).toList(),
path: json["path"]?.toString() ?? '',
perPage: readInt(json["per_page"], fallback: 15),
to: readIntOrNull(json["to"]),
total: readInt(json["total"]),
);