Pagination.fromJson constructor

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

Implementation

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