UsageAllocation class
Usage allocations allow you to split usage into buckets by tags.
Each UsageAllocation indicates the usage quantity for a specific set of tags.
Constructors
-
UsageAllocation({required int allocatedUsageQuantity, List<
Tag> ? tags}) -
UsageAllocation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allocatedUsageQuantity → int
-
The total quantity allocated to this bucket of usage.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The set of tags that define the bucket of usage. For the bucket of items
with no tags, this parameter can be left out.
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