BalanceValue.fromJson constructor

BalanceValue.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory BalanceValue.fromJson(Map<String, Object?> json) => BalanceValue(
      asOf: decodeDateTime(json["as_of"]),
      available: inttegro_money.Amount.fromJson(
        (json["available"] as Map).cast<String, Object?>(),
      ),
    );