AccountBalance class
information related to the bank account
- Annotations
-
- @freezed
Constructors
-
AccountBalance({required int asOf, required BalanceType type, Map<
String, int> ? cash, Map<String, int> ? credit, Map<String, int> ? current}) -
constfactory
-
AccountBalance.fromJson(Map<
String, dynamic> json) -
factory
Properties
- asOf → int
-
Unix timestamp in milliseconds of time the external instition calculated this balance.
no setterinherited
-
cash
→ Map<
String, int> ? -
The funds available to the account holder.
no setterinherited
-
copyWith
→ $AccountBalanceCopyWith<
AccountBalance> -
no setterinherited
-
credit
→ Map<
String, int> ? -
The credit that has been used by the account holder.
no setterinherited
-
current
→ Map<
String, int> ? -
The balances owed to (or by) the account holder.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → BalanceType
-
The type of balance.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited