PropertySort class

Represents a property-based sort operation.

Implemented types

Constructors

PropertySort.new({required String property, SortDirection direction = SortDirection.ascending})
Creates a new PropertySort instance.

Properties

direction SortDirection
The direction of the sort operation.
final
hashCode int
The hash code for this object.
no setterinherited
property String
The name of the property to sort by.
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
toMap() Map<String, String>
Converts the sort operation to a map representation.
override
toString() String
A string representation of this object.
override

Operators

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