BucketLifecycleRule.fromJson constructor

BucketLifecycleRule.fromJson(
  1. Map _json
)

Implementation

BucketLifecycleRule.fromJson(core.Map _json)
    : this(
        action: _json.containsKey('action')
            ? BucketLifecycleRuleAction.fromJson(
                _json['action'] as core.Map<core.String, core.dynamic>)
            : null,
        condition: _json.containsKey('condition')
            ? BucketLifecycleRuleCondition.fromJson(
                _json['condition'] as core.Map<core.String, core.dynamic>)
            : null,
      );