toJson method
Implementation
Map<String, dynamic> toJson() {
final deleteAfterDays = this.deleteAfterDays;
final moveToColdStorageAfterDays = this.moveToColdStorageAfterDays;
return {
if (deleteAfterDays != null) 'DeleteAfterDays': deleteAfterDays,
if (moveToColdStorageAfterDays != null)
'MoveToColdStorageAfterDays': moveToColdStorageAfterDays,
};
}