SearchRulesResponse class final
- Annotations
-
- @JsonSerializable()
Constructors
-
SearchRulesResponse({required List<
Rule> hits, required int nbHits, required int page, required int nbPages}) -
Returns a new SearchRulesResponse instance.
const
-
SearchRulesResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
hits
→ List<
Rule> -
Rules that matched the search criteria.
final
- nbHits → int
-
Number of rules that matched the search criteria.
final
- nbPages → int
-
Number of pages.
final
- page → int
-
Current page.
final
- 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, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override