GoogleSearchSuggestions.fromJson constructor

GoogleSearchSuggestions.fromJson(
  1. Map json_
)

Implementation

GoogleSearchSuggestions.fromJson(core.Map json_)
  : this(
      htmls: (json_['htmls'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      webSearchQueries: (json_['webSearchQueries'] as core.List?)
          ?.map(
            (value) => WebSearchQuery.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
    );