UsageStorage class

Usage Storage

Constructors

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

Properties

buckets List<Metric>
Aggregated number of buckets per period.
final
bucketsTotal int
Total aggregated number of buckets
final
files List<Metric>
Aggregated number of files per period.
final
filesStorageTotal int
Total aggregated number of files storage (in bytes).
final
filesTotal int
Total aggregated number of 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 files storage (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