ResolvedNonReentrantConfig class

Resolved nonReentrant configuration.

This is the "output" version of NonReentrantConfig that is used in NonReentrantContext after the config has been merged with defaults. Since NonReentrantConfig has no required fields, all fields remain nullable.

Created via NonReentrantConfig.resolve after merging with NonReentrantConfig.defaults.

Constructors

ResolvedNonReentrantConfig(NonReentrantConfig config)
Creates a resolved config from a NonReentrantConfig.

Properties

hashCode int
The hash code for this object.
no setterinherited
key Object?
Override key for non-reentrant isolation. If null, uses the mix key.
final
onBlocked → void Function(Object key)?
Optional callback called when a call is blocked.
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