BucketRetentionPolicy.fromJson constructor

BucketRetentionPolicy.fromJson(
  1. Map json_
)

Implementation

BucketRetentionPolicy.fromJson(core.Map json_)
    : this(
        effectiveTime: json_.containsKey('effectiveTime')
            ? core.DateTime.parse(json_['effectiveTime'] as core.String)
            : null,
        isLocked: json_['isLocked'] as core.bool?,
        retentionPeriod: json_['retentionPeriod'] as core.String?,
      );