SuggestResponse.fromJson constructor

SuggestResponse.fromJson(
  1. Map json_
)

Implementation

SuggestResponse.fromJson(core.Map json_)
    : this(
        suggestResults: json_.containsKey('suggestResults')
            ? (json_['suggestResults'] as core.List)
                .map((value) => SuggestResult.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );