SearchSearchInformation.fromJson constructor

SearchSearchInformation.fromJson(
  1. Map json_
)

Implementation

SearchSearchInformation.fromJson(core.Map json_)
    : this(
        formattedSearchTime: json_.containsKey('formattedSearchTime')
            ? json_['formattedSearchTime'] as core.String
            : null,
        formattedTotalResults: json_.containsKey('formattedTotalResults')
            ? json_['formattedTotalResults'] as core.String
            : null,
        searchTime: json_.containsKey('searchTime')
            ? (json_['searchTime'] as core.num).toDouble()
            : null,
        totalResults: json_.containsKey('totalResults')
            ? json_['totalResults'] as core.String
            : null,
      );