invokeMethod method

Future<int> invokeMethod(
  1. FlutterSoundPlayerCallback callback,
  2. String methodName,
  3. Map<String, dynamic> call
)

Implementation

Future<int> invokeMethod(FlutterSoundPlayerCallback callback,
    String methodName, Map<String, dynamic> call) async {
  call['slotNo'] = findSession(callback);
  return await _channel.invokeMethod(methodName, call) as int;
}