GiphyPagination.fromJson constructor

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

Implementation

factory GiphyPagination.fromJson(Map<String, dynamic> json) =>
    GiphyPagination(
      totalCount: json['total_count'] as int? ?? 0,
      count: json['count'] as int? ?? 0,
      offset: json['offset'] as int? ?? 0,
    );