IndexAllocatorReleaseResult class

Result of returning an index to IndexAllocatorModel.

Constructors

IndexAllocatorReleaseResult({required int index, required bool invalidRelease, required bool doubleRelease})
Creates an allocator release result.
const

Properties

accepted → bool
Whether ownership was successfully returned.
no setter
doubleRelease → bool
Whether index was already available.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
Index named by the release.
final
invalidRelease → bool
Whether index was outside the configured domain.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited