AudioParamDescriptor constructor

AudioParamDescriptor({
  1. required String name,
  2. double? defaultValue,
  3. double? minValue,
  4. double? maxValue,
  5. AutomationRate? automationRate,
})

Implementation

factory AudioParamDescriptor(
        {required String name,
        double? defaultValue,
        double? minValue,
        double? maxValue,
        AutomationRate? automationRate}) =>
    AudioParamDescriptor._(
        name: name,
        defaultValue: defaultValue ?? 0,
        minValue: minValue ?? -3.4028235e38,
        maxValue: maxValue ?? 3.4028235e38,
        automationRate: automationRate?.value ?? AutomationRate.aRate.value);