CustomersModel class

Constructors

CustomersModel({int totalItems = 0, List<CustomerModel>? items})
CustomersModel.fromJson(String source)
factory
CustomersModel.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
items List<CustomerModel>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalItems int
getter/setter pair

Methods

copyWith({int? totalItems, List<CustomerModel>? items}) CustomersModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override