OssLicensesHandle class
A reference-counted handle to the decoded license list.
Obtain via OssLicenses.acquire. Call close when finished. When the last handle is closed, the cached list is released.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
licenses
→ List<
OssLicense> -
The decoded list. Safe to read while this handle is open.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → void - Release this handle's reference. Idempotent.
-
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