GiphyPagination.fromJson constructor

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

Creates a new pagination from json

Implementation

factory GiphyPagination.fromJson(Map<String, dynamic> json) =>
    GiphyPagination(
      totalCount: json['total_count'],
      count: json['count'],
      offset: json['offset'],
      nextCursor: json['next_cursor'],
    );