Discoveryclusters.fromJson constructor

Discoveryclusters.fromJson(
  1. Map json_
)

Implementation

Discoveryclusters.fromJson(core.Map json_)
    : this(
        clusters: json_.containsKey('clusters')
            ? (json_['clusters'] as core.List)
                .map((value) => DiscoveryclustersClusters.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        totalClusters: json_.containsKey('totalClusters')
            ? json_['totalClusters'] as core.int
            : null,
      );