UserHit class final
- Annotations
-
- @JsonSerializable()
Constructors
- UserHit.new({required String userID, required String clusterName, required int nbRecords, required int dataSize, required String objectID, required UserHighlightResult highlightResult})
-
Returns a new UserHit instance.
const
-
UserHit.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clusterName → String
-
Cluster name.
final
- dataSize → int
-
Data size taken by all the users assigned to the cluster.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- highlightResult → UserHighlightResult
-
final
- nbRecords → int
-
Number of records in the cluster.
final
- objectID → String
-
userID of the requested user. Same as userID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userID → String
-
Unique identifier of the user who makes the search request.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override