CivitaMetadata.fromJson constructor

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

Implementation

CivitaMetadata.fromJson(Map<String, dynamic> json) {
  totalItems = json['totalItems'] ?? 0;
  currentPage = json['currentPage'] ?? 0;
  pageSize = json['pageSize'] ?? 0;
  totalPages = json['totalPages'] ?? 0;
  nextPage = json['nextPage'];
  prevPage = json['prevPage'];
  nextCursor = json['nextCursor'];
}