ObjectPool<T> class
Constructors
- ObjectPool({required T factory(), void resetFn(T)?, int maxPoolSize = 1000})
Properties
Methods
-
acquire(
) → T -
clear(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
T object) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited