ServerReceipt class

Server-signed batch receipt (anti-packet) confirming message sequence numbers stored on cloud.

Annotations

Constructors

ServerReceipt({int version = 1, required Uint8List groupId, required Uint8List author, required List<SeqRange> ranges, required int issuedAt, required Uint8List serverSig})
const
ServerReceipt.fromCbor(Uint8List bytes)
factory

Properties

author → Uint8List
final
groupId → Uint8List
final
hashCode → int
The hash code for this object.
no setterinherited
issuedAt → int
final
ranges → List<SeqRange>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverSig → Uint8List
final
version → int
final

Methods

confirms(int seq) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCoreCbor() → Uint8List
toCoreMap() → Map<String, dynamic>
toFullCbor() → Uint8List
toFullMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited
verify(Uint8List serverPublicKey) → Future<bool>

Operators

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