PageInfo.fromJson constructor

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

Implementation

factory PageInfo.fromJson(Map<String, dynamic> json) => PageInfo(
      totalResults: json['totalResults'] as int?,
      resultsPerPage: json['resultsPerPage'] as int?,
    );