QueryModel class
A base class for all query models.
This class provides a common structure for all query models, including a page number and an amount. It also provides a method to convert the query model to a JSON object, which can be used when making HTTP requests.
All query models should inherit from this class and add any additional properties that they need.
Constructors
- QueryModel({int? page, int? amount})
- Creates a new instance of QueryModel.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the QueryModel to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited