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