handleCallCommands method
void
handleCallCommands({
- required List<
CallCommand> callCommands, - List<
CallCommand> calledCommands = const [], - Map<
String, String> replacements = const {}, - AssetReference? nullSound,
- SoundChannel? soundChannel,
- 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,
);
}
}