E2eeEvent class

A single e2ee.* event emitted by the native manager.

Optional fields are null when the native event omits them.

Constructors

E2eeEvent({required E2eeEventType? type, required String name, required String userId, E2eeTrackType? trackType, int? keyIndex, int? version, String? reason, E2eeKeyState? keyState, List<E2eeTrackPerf>? encode, List<E2eeTrackPerf>? decode})
const
E2eeEvent.fromMap(Map map)
factory

Properties

decode List<E2eeTrackPerf>?
Set on e2ee.perf_report only.
final
encode List<E2eeTrackPerf>?
Set on e2ee.perf_report only.
final
hashCode int
The hash code for this object.
no setterinherited
keyIndex int?
final
keyState E2eeKeyState?
Set on e2ee.key_state only.
final
name String
Wire name, e.g. e2ee.missing_key.
final
reason String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trackType E2eeTrackType?
final
type E2eeEventType?
null when native reports a type this version does not know about.
final
userId String
The key owner the event is about. Empty for manager-wide events.
final
version int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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