BankListModel class

Paginated class for BankModel.

Constructors

BankListModel({required List<BankModel> banks, required int currentPage, required List<int> recordRange, required int totalPages, required int totalRecords, String? next, String? previous})
Default constructor for BankListModel.
BankListModel.fromMap(Map<String, Object?> map)
Factory to create BankListModel instance from map.
factory

Properties

banks List<BankModel>
The list of Bank.
final
currentPage int
The Current page.
final
hashCode int
The hash code for this object.
no setterinherited
next String?
The next page url.
final
previous String?
The previous page url.
final
recordRange List<int>
The record range.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPages int
The total pages available.
final
totalRecords int
The total records available.
final

Methods

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

Operators

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