UserEvent class Null safety

Represents user event

Implemented types
Annotations

Constructors

UserEvent({required UserEventCategory category, required Map<String, dynamic> data, required int ts})

Properties

blockee User
read-only
blocker User
read-only
category UserEventCategory
read / write
data Map<String, dynamic>
final
friendDiscoveries List<User>
read-only
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
ts int
read / write

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) UserEvent