DVMeterStore class abstract

Where meter records are kept.

Constructors

DVMeterStore()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(DVMeterRecord record) → Future<bool>
Stores record. Returns false when the store itself refused it as a duplicate, which a database does when two instances race.
hasKey({required String tenant, required String meter, required String key, required Iterable<DVMeterPeriod> periods}) → Future<bool>
Whether a record with key exists for tenant and meter in any of periods.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordsIn({required String tenant, required String meter, required DVMeterPeriod period}) → Future<List<DVMeterRecord>>
The records counted in period for tenant and meter.
toString() → String
A string representation of this object.
inherited

Operators

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