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