SearchRequest class

Search request model

Annotations
  • @JsonSerializable()

Constructors

SearchRequest.new({required String query, Map<String, dynamic>? filters, int page = 1, int pageSize = 20, String? sortBy, String? sortOrder})
SearchRequest.fromJson(Map<String, dynamic> json)
factory

Properties

filters Map<String, dynamic>?
final
hashCode int
The hash code for this object.
no setterinherited
page int
final
pageSize int
final
query String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortBy String?
final
sortOrder String?
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited