updateActions method
Implementation
void updateActions(List<CPTextButton> newActions) {
final copy = List<CPTextButton>.from(newActions);
actions
..clear()
..addAll(copy);
}
void updateActions(List<CPTextButton> newActions) {
final copy = List<CPTextButton>.from(newActions);
actions
..clear()
..addAll(copy);
}