UsageBucket class

Usage Buckets

Constructors

UsageBucket.new({required String range, required int filesTotal, required int filesStorageTotal, required List<Metric> files, required List<Metric> storage})
UsageBucket.fromMap(Map<String, dynamic> map)
factory

Properties

files List<Metric>
Aggregated number of bucket files per period.
final
filesStorageTotal int
Total aggregated number of bucket files storage (in bytes).
final
filesTotal int
Total aggregated number of bucket files.
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
range String
Time range of the usage stats.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage List<Metric>
Aggregated number of bucket storage files (in bytes) per period.
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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

Operators

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