clearAllProperties method

void clearAllProperties(
  1. SynthizerObject object,
  2. {double? time}
)

Clear all properties for object.

If time is null, then currentTime will be used.

Implementation

void clearAllProperties(final SynthizerObject object, {final double? time}) =>
    AutomationBatch(this)
      ..clearAllProperties(object.handle, time ?? currentTime.value)
      ..execute()
      ..destroy();