ItemModel class

Constructors

ItemModel({int? total, int? perPage, required int currentPage, required int lastPage, String? nextPageUrl, String? prevPageUrl, int? from, int? to, required List<NotificationModel> data})
ItemModel.fromJson(Map<String, dynamic> json)
factory

Properties

currentPage int
getter/setter pair
data List<NotificationModel>
getter/setter pair
from int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastPage int
getter/setter pair
nextPageUrl String?
getter/setter pair
perPage int?
getter/setter pair
prevPageUrl String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to int?
getter/setter pair
total int?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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