memorySizeWith method
Estimates memory usage with an instance of MemoryCounter.
Implementation
@override
void memorySizeWith(MemoryCounter counter, T? instance) {
if (instance == null) {
counter.add(8);
} else {
elementKind.memorySizeWith(counter, instance);
}
}