handleCallCommands method

void handleCallCommands({
  1. required List<CallCommand> callCommands,
  2. List<CallCommand> calledCommands = const [],
  3. Map<String, String> replacements = const {},
  4. AssetReference? nullSound,
  5. SoundChannel? soundChannel,
  6. ZoneLevel? zoneLevel,
})

Handle a list of callCommands.

Implementation

void handleCallCommands({
  required final List<CallCommand> callCommands,
  final List<CallCommand> calledCommands = const [],
  final Map<String, String> replacements = const {},
  final AssetReference? nullSound,
  final SoundChannel? soundChannel,
  final ZoneLevel? zoneLevel,
}) {
  for (final callCommand in callCommands) {
    handleCallCommand(
      callCommand: callCommand,
      calledCommands: calledCommands,
      nullSound: nullSound,
      replacements: replacements,
      soundChannel: soundChannel,
      zoneLevel: zoneLevel,
    );
  }
}