createAudioEffectFromAssets method

Future<int> createAudioEffectFromAssets(
  1. String path,
  2. int effectId
)

Implementation

Future<int> createAudioEffectFromAssets(String path, int effectId) async {
  Map<String, dynamic> arguments = {'assets': path, 'id': effectId};
  int code =
      await _channel.invokeMethod('createAudioEffect', arguments) ?? -1;
  return code;
}