toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (retentionPolicy != null) {
json[r'retention_policy'] = retentionPolicy;
}
if (default_ != null) {
json[r'default'] = default_;
}
return json;
}