removeDataStruct method

void removeDataStruct(
  1. String name
)

Removes a data struct from the target project by name.

Implementation

void removeDataStruct(String name) {
  _queueRemoval(
    name: name,
    kind: 'struct',
    declarationApi: 'struct',
    declaredNames: _structNames,
  );
  _rawMutations.add(
    (project) => data_schema_helpers.removeDataStruct(project, name: name),
  );
}