addCommandRet method

Score addCommandRet(
  1. Widget command
)

Implementation

Score addCommandRet(Widget command) {
  var commands = List<Widget>.from(_commands);
  commands.add(command);
  return Score(entity, score, addNew: false, commands: commands, type: type);
}