ChatEvent class

Implemented types

Constructors

ChatEvent({int id, int date, int userId, dynamic action})
Represents a chat event. id Chat event identifier . date Point in time (Unix timestamp) when the event happened . userId Identifier of the user who performed the action that triggered the event . action Action performed by the user
ChatEvent.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

action ↔ dynamic
read / write
date int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
userId int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"chatEvent"