BucketSoftDeletePolicy.fromJson constructor

BucketSoftDeletePolicy.fromJson(
  1. Map json_
)

Implementation

BucketSoftDeletePolicy.fromJson(core.Map json_)
    : this(
        effectiveTime: json_.containsKey('effectiveTime')
            ? core.DateTime.parse(json_['effectiveTime'] as core.String)
            : null,
        retentionDurationSeconds:
            json_.containsKey('retentionDurationSeconds')
                ? json_['retentionDurationSeconds'] as core.String
                : null,
      );