ListStepAccessibilityClustersResponse.fromJson constructor

ListStepAccessibilityClustersResponse.fromJson(
  1. Map json_
)

Implementation

ListStepAccessibilityClustersResponse.fromJson(core.Map json_)
    : this(
        clusters: json_.containsKey('clusters')
            ? (json_['clusters'] as core.List)
                .map((value) => SuggestionClusterProto.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );