popCreation method

void popCreation(
  1. Type type
)

Pops a type from the creation stack

Implementation

void popCreation(Type type) {
  if (_creationStack.isNotEmpty && _creationStack.last == type) {
    _creationStack.removeLast();
  }
}