ListScreenshotClustersResponse.fromJson constructor

ListScreenshotClustersResponse.fromJson(
  1. Map _json
)

Implementation

ListScreenshotClustersResponse.fromJson(core.Map _json)
    : this(
        clusters: _json.containsKey('clusters')
            ? (_json['clusters'] as core.List)
                .map((value) => ScreenshotCluster.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );