BucketIamConfigurationBucketPolicyOnly.fromJson constructor

BucketIamConfigurationBucketPolicyOnly.fromJson(
  1. Map json_
)

Implementation

BucketIamConfigurationBucketPolicyOnly.fromJson(core.Map json_)
    : this(
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        lockedTime: json_.containsKey('lockedTime')
            ? core.DateTime.parse(json_['lockedTime'] as core.String)
            : null,
      );