MeiliRankingScoreDetailsCustomRule class
Custom rule in the form of either attribute:direction
or _geoPoint(lat, lng):direction
.
Constructors
-
MeiliRankingScoreDetailsCustomRule({required Map<
String, dynamic> src, required int order, required dynamic value, required num? distance}) -
const
-
MeiliRankingScoreDetailsCustomRule.fromJson(Map<
String, dynamic> src) -
factory
Properties
- distance → num?
-
The distance between the target point and the geoPoint in the document
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- order → int
-
The order that this ranking rule was applied
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
src
→ Map<
String, dynamic> -
The source json object this was created from.
final
- value → dynamic
-
The value that was used for sorting this document
final
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