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