AssociatedEntities.fromJson constructor

AssociatedEntities.fromJson(
  1. Map json_
)

Implementation

AssociatedEntities.fromJson(core.Map json_)
  : this(
      anthosClusters:
          (json_['anthosClusters'] as core.List?)
              ?.map(
                (value) => AnthosCluster.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      gkeClusters:
          (json_['gkeClusters'] as core.List?)
              ?.map(
                (value) => GkeCluster.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
    );