VpcAccessibleServices.fromJson constructor

VpcAccessibleServices.fromJson(
  1. Map json_
)

Implementation

VpcAccessibleServices.fromJson(core.Map json_)
  : this(
      allowedServicePatterns: (json_['allowedServicePatterns'] as core.List?)
          ?.map(
            (value) => ServicePattern.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      allowedServices: (json_['allowedServices'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      enableRestriction: json_['enableRestriction'] as core.bool?,
      servicePatternsEnforcementScopes:
          (json_['servicePatternsEnforcementScopes'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );