UsageDatabase class

Usage Database

Constructors

UsageDatabase.new({required String range, required int collectionsTotal, required int documentsTotal, required List<Metric> collections, required List<Metric> documents})
UsageDatabase.fromMap(Map<String, dynamic> map)
factory

Properties

collections List<Metric>
Aggregated number of collections per period.
final
collectionsTotal int
Total aggregated number of collections.
final
documents List<Metric>
Aggregated number of documents per period.
final
documentsTotal int
Total aggregated number of documents.
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
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