SortBy class

实时位置搜索的排序方法

Constructors

SortBy({String fieldName, SortType sortType})
有参构造
SortBy.fromMap(Map map)
map => SortBy

Properties

fieldName ↔ String
排序字段名称
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
sortType SortType
排序规则
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map
SortBy => map
toString() → String
Returns a string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited