BucketLifecycle.fromJson constructor

BucketLifecycle.fromJson(
  1. Map json_
)

Implementation

BucketLifecycle.fromJson(core.Map json_)
    : this(
        rule: json_.containsKey('rule')
            ? (json_['rule'] as core.List)
                .map((value) => BucketLifecycleRule.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );