Spend class

The amount of cost or usage that is measured for a budget.

For example, a Spend for 3 GB of S3 usage would have the following parameters:

  • An Amount of 3
  • A unit of GB

Constructors

Spend({required String amount, required String unit})
Spend.fromJson(Map<String, dynamic> json)
factory

Properties

amount String
The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unit String
The unit of measurement that is used for the budget forecast, actual spend, or budget threshold, such as dollars or GB.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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