AccountDetailsModel class

Constructors

AccountDetailsModel({required CustomerModel customer, required double balance, List<AccountDetailModel> details = const []})
Returns a new AccountDetailsModel instance.

Properties

balance double
getter/setter pair
customer CustomerModel
getter/setter pair
details List<AccountDetailModel>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

areDetailsEqual(AccountDetailsModel other) bool
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.
override

Operators

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

Static Methods

fromJson(dynamic value) AccountDetailsModel
Returns a new AccountDetailsModel instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json) List<AccountDetailsModel>
mapFromJson(dynamic json) Map<String, AccountDetailsModel>
mapListFromJson(dynamic json) Map<String, List<AccountDetailsModel>>