removeCustomFunction method

void removeCustomFunction(
  1. String name
)

Removes a custom function from the target project by name.

Implementation

void removeCustomFunction(String name) {
  _queueRemoval(
    name: name,
    kind: 'custom function',
    declarationApi: 'customFunction',
    declaredNames: _customFunctionNames,
  );
  _rawMutations.add(
    (project) =>
        custom_code_helpers.removeCustomFunction(project, name: name),
  );
}