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