SortBuilder class
A builder class for creating sort operations for Notion database queries.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPropertySort(
String property, {SortDirection direction = SortDirection.ascending}) → void - Adds a property-based sort operation.
-
addTimestampSort(
String timestamp, {SortDirection direction = SortDirection.ascending}) → void - Adds a timestamp-based sort operation.
-
build(
) → List< Sort> - Builds and returns the list of sort operations.
-
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