GoogleCloudAssetV1Constraint.fromJson constructor

GoogleCloudAssetV1Constraint.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAssetV1Constraint.fromJson(core.Map json_)
    : this(
        booleanConstraint: json_.containsKey('booleanConstraint')
            ? GoogleCloudAssetV1BooleanConstraint.fromJson(
                json_['booleanConstraint']
                    as core.Map<core.String, core.dynamic>)
            : null,
        constraintDefault: json_.containsKey('constraintDefault')
            ? json_['constraintDefault'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        listConstraint: json_.containsKey('listConstraint')
            ? GoogleCloudAssetV1ListConstraint.fromJson(
                json_['listConstraint']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );