Data class

Constructors

Data({required int page, required int size, required int totalElements, required int totalPages, required bool last, required bool first, required Sort sort, required List<ProductModel> content})
Data.fromJson(Map<String, dynamic> json)

Properties

content List<ProductModel>
latefinal
first bool
latefinal
hashCode int
The hash code for this object.
no setterinherited
last bool
latefinal
page int
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
latefinal
sort Sort
latefinal
totalElements int
latefinal
totalPages int
latefinal

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