Sf2Instrument constructor

Sf2Instrument({
  1. required String path,
  2. required bool isAsset,
  3. int presetIndex = DEFAULT_PATCH_NUMBER,
})

Implementation

Sf2Instrument(
    {required String path,
    required bool isAsset,
    int presetIndex = DEFAULT_PATCH_NUMBER})
    : super(path, isAsset, presetIndex: presetIndex);