KeyBackupData class

The key data

Annotations
  • @_NameSource('spec')

Constructors

KeyBackupData({required int firstMessageIndex, required int forwardedCount, required bool isVerified, required Map<String, Object?> sessionData})
KeyBackupData.fromJson(Map<String, Object?> json)

Properties

firstMessageIndex int
The index of the first message in the session that the key can decrypt.
getter/setter pair
forwardedCount int
The number of times this key has been forwarded via key-sharing between devices.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isVerified bool
Whether the device backing up the key verified the device that the key is from.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionData Map<String, Object?>
Algorithm-dependent data. See the documentation for the backup algorithms in Server-side key backups for more information on the expected format of the data.
getter/setter pair

Methods

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