invokeMethodMap method

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

Implementation

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