DebtEntry class
One entry for the debt for the day. Reference: https://fiscaldata.treasury.gov/datasets/debt-to-the-penny/debt-to-the-penny
Constructors
Properties
- change ↔ double
-
The amount of change from the previous entry.
getter/setter pair
- effectiveDate ↔ String?
-
The date that data was published.
getter/setter pair
- governmentHoldings ↔ double?
-
Holdings Government Account Series (GAS) securities held by Government trust funds, revolving funds, and special funds; and Federal Financing Bank (FFB) securities.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalDebt ↔ double?
-
Total of intragovernmental holdings and debt held by the public.
getter/setter pair
Methods
-
date(
) → DateTime? - The effectiveDate as a DateTime.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertToDate(
String? sDate) → DateTime? - Convert value to date.
-
currencyShortened(
double value, bool includePrefix) → String - Convert current value to a shortened version.
-
dateFormatted(
String value) → String? - Format the date.
-
debtFromJSON(
Map< String, dynamic> json) → DebtEntry - Convert map to DebtEntry.
-
trillions(
double value) → double - Convert value to trillions.