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