TreasuryDirect class

Downloads the Debt to the Penny dataset from the US Treasury API.

Constructors

TreasuryDirect()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

downloadDebtFeedAsync({int pagesize = 10, int pagenum = 1}) Future<DebtList>
Downloads the Debt to the Penny dataset from the US Treasury API, asynchronously.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
urlString({int pagesize = 10, int pagenum = 1}) String
Creates the URL to the endpoint. Documentation: https://fiscaldata.treasury.gov/datasets/debt-to-the-penny/

Operators

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