Apply dart autofixes

This commit is contained in:
zontreck 2024-07-21 05:20:16 -07:00
parent fdb5669897
commit 7ec3ea33d1
2 changed files with 2 additions and 2 deletions

View file

@ -198,7 +198,7 @@ class CompoundTag extends Tag implements Map<String, Tag> {
@override
Tag? remove(Object? key) {
if (key is Tag && value.containsKey(key))
(key as Tag).setParentTagType(TagType.End);
(key).setParentTagType(TagType.End);
return value.remove(key);
}