isCreating method

bool isCreating(
  1. Type type
)

Checks if a type is currently being created

Implementation

bool isCreating(Type type) => _creationStack.contains(type);