FollowsSortField class

Defines the fields by which follows can be sorted.

This extension type provides specific fields for sorting follow data.

Inheritance

Constructors

FollowsSortField(String remote, SortFieldValueGetter<FollowData, Object> localValue)
Creates a new follows sort field.

Properties

comparator → AnySortComparator<FollowData>
The comparator function used for local sorting operations.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
remote → String
The remote field name used in API queries.
finalinherited
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

Static Properties

createdAt → FollowsSortField
Sort by the creation timestamp of the follow relationship. This field allows sorting follows by when they were created (newest/oldest first).
final