SpendEntry class final

A spend this device made that KeyGrant has not confirmed (the journal).

Constructors

SpendEntry({required String id, required String meter, required int n, required int at, required SpendKind kind})
const

Properties

at → int
When (the guarded device clock, ms) the entry was opened.
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
isVoid → bool
no setter
kind → SpendKind
final
meter → String
final
n → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

grown(int more) → SpendEntry
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Object? json) → SpendEntry?
A stored entry, or null when it is not one the journal holds: the state is the device's own, never the server's word. Unknown members are dropped.