PscConfig.fromJson constructor

PscConfig.fromJson(
  1. Map json_
)

Implementation

PscConfig.fromJson(core.Map json_)
    : this(
        allowedGoogleProducersResourceHierarchyLevel:
            (json_['allowedGoogleProducersResourceHierarchyLevel']
                    as core.List?)
                ?.map((value) => value as core.String)
                .toList(),
        limit: json_['limit'] as core.String?,
        producerInstanceLocation:
            json_['producerInstanceLocation'] as core.String?,
        subnetworks: (json_['subnetworks'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );