invokeMethodBool method

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

Implementation

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