Result class
The result object.
- Annotations
-
- @_NameSource('spec')
Constructors
- Result({SearchResultsEventContext? context, double? rank, MatrixEvent? result})
-
Result.fromJson(Map<
String, Object?> json)
Properties
- context ↔ SearchResultsEventContext?
-
Context for result, if requested.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- rank ↔ double?
-
A number that describes how closely this result matches the search. Higher is closer.
getter/setter pair
- result ↔ MatrixEvent?
-
The event that matched.
getter/setter pair
- 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
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override