toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final retentionDays = this.retentionDays;
  return {
    if (retentionDays != null) 'RetentionDays': retentionDays,
  };
}