ChatEvent class

Inheritance

Constructors

ChatEvent({int id, int date, int userId, ChatEventAction action})
Represents a chat event
ChatEvent.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

action ChatEventAction
action Action performed by the user
read / write
date int
date Point in time (Unix timestamp) when the event happened
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
id Chat event identifier
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId int
userId Identifier of the user who performed the action that triggered the event
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'chatEvent'