AccountBalance constructor
Implementation
@JsonSerializable(explicitToJson: true)
const factory AccountBalance({
/// Unix timestamp in milliseconds of time the external instition calculated this balance.
required int asOf,
/// The type of balance.
required BalanceType type,
/// The funds available to the account holder.
///
/// Typically this is the current balance less any holds.
/// Each key is a three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) in lowercase.
/// Each value is an integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
Map<String, int>? cash,
/// The credit that has been used by the account holder.
///
/// Each key is a three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) in lowercase.
/// Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
Map<String, int>? credit,
/// The balances owed to (or by) the account holder.
///
/// Each key is a three letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) in lowercase.
/// Each value is a integer amount. A positive amount indicates money owed to the account holder. A negative amount indicates money owed by the account holder.
Map<String, int>? current,
}) = _AccountBalance;