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,
      );