loadInitialParameters method

Future<void> loadInitialParameters()

Loads current parameter values from the VST3 EditController.

Running without a host, as flutter run does, is not an error: there's no channel, and the cache stays as it is. A bad reply from a host throws.

Implementation

Future<void> loadInitialParameters() async {
  try {
    _applyInitial(
      await _channel.invokeMethod<Object?>('getInitialParameters'),
    );
  } on MissingPluginException {
    return;
  }
}