SearchOrder enum

Inheritance
Annotations
  • @MappableEnum()

Constructors

SearchOrder()
const

Values

top → const SearchOrder

Search score should be a weighted value of text, popularity, points and like, ordered decreasing.

text → const SearchOrder

Search score should depend only on text match similarity, ordered decreasing.

created → const SearchOrder

Search order should be in decreasing last package creation time.

updated → const SearchOrder

Search order should be in decreasing last package updated time.

popularity → const SearchOrder

Search order should be in decreasing popularity score.

like → const SearchOrder

Search order should be in decreasing like count.

points → const SearchOrder

Search order should be in decreasing pub points.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
no setter

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

Constants

values → const List<SearchOrder>
A constant List of the values in this enum, in order of their declaration.