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