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<SuggestionClusterProto>((value) =>
                    SuggestionClusterProto.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );