$TokenPagination.fromJson constructor Null safety

$TokenPagination.fromJson(
  1. Map _json
)

Implementation

$TokenPagination.fromJson(core.Map _json)
    : this(
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
        previousPageToken: _json.containsKey('previousPageToken')
            ? _json['previousPageToken'] as core.String
            : null,
      );