removeActionBlock method

void removeActionBlock(
  1. String name
)

Removes an action block from the target project by name.

Implementation

void removeActionBlock(String name) {
  _queueRemoval(
    name: name,
    kind: 'app action block',
    declarationApi: 'actionBlock',
    declaredNames: _actionBlockNames,
  );
  _rawMutations.add(
    (project) => action_block_helpers.removeActionBlock(project, name: name),
  );
}