LicenseDisplayWithPriority<D> class
Encapsulates a generic license display along with a priority that can be used for sorting.
Constructors
- LicenseDisplayWithPriority.withStatusPriority({required D display, required LicenseStatus licenseStatus})
-
Constructs thedisplayed license with a priority set by status.
factory
Properties
- display → D
-
The formatted license display.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority ↔ int
-
The priority of the liscense display based on the status.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → LicenseStatus
-
The associated license status.
final
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