PageLinks.fromJson constructor

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

Implementation

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