core.Map<core.String, core.dynamic> toJson() => { if (backupLimit != null) 'backupLimit': backupLimit!, if (backupType != null) 'backupType': backupType!, };