removeEmptyArtifacts method
void
removeEmptyArtifacts()
Removes all empty artifacts from the band's artifact list.
An empty artifact is determined by the Artifact.isEmpty property. This method modifies the artifacts list in-place, filtering out any artifacts that are considered empty.
Implementation
void removeEmptyArtifacts() {
artifacts.removeWhere((artifact) => artifact.isEmpty);
}