removeEnum method

void removeEnum(
  1. String name
)

Removes an enum from the target project by name.

Implementation

void removeEnum(String name) {
  _queueRemoval(
    name: name,
    kind: 'enum',
    declarationApi: 'enum_',
    declaredNames: _enumNames,
  );
  _rawMutations.add(
    (project) => data_schema_helpers.removeEnum(project, name: name),
  );
}