Meta.fromJson constructor

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

Implementation

factory Meta.fromJson(Map<String, dynamic> json) {
  return Meta(
      currentPage: json['currentPage'],
      totalPages: json['totalPages'],
      totalRecords: json['totalRecords'],
      perPage: json['perPage']);
}