SearchRequest.fromJson constructor

SearchRequest.fromJson(
  1. Map json_
)

Implementation

SearchRequest.fromJson(core.Map json_)
    : this(
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        query:
            json_.containsKey('query') ? json_['query'] as core.String : null,
      );