PaginationLinks.fromJson constructor

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

Implementation

factory PaginationLinks.fromJson(Map<String, dynamic> json) {
  return PaginationLinks(
    first: json['first'] as String?,
    last: json['last'] as String?,
    prev: json['prev'] as String?,
    next: json['next'] as String?,
  );
}