$PageInfo.fromJson constructor

$PageInfo.fromJson(
  1. Map json_
)

Implementation

$PageInfo.fromJson(core.Map json_)
    : this(
        resultPerPage: json_.containsKey('resultPerPage')
            ? json_['resultPerPage'] as core.int
            : null,
        startIndex: json_.containsKey('startIndex')
            ? json_['startIndex'] as core.int
            : null,
        totalResults: json_.containsKey('totalResults')
            ? json_['totalResults'] as core.int
            : null,
      );