PageLinks.fromJson constructor

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

Implementation

factory PageLinks.fromJson(Map<String, dynamic> json) => PageLinks(
    json['next'] == null ? null : Link.fromJson(json['next']),
    json['prev'] == null ? null : Link.fromJson(json['prev']),
    Link.fromJson(json['self']));