WSClientEvent constructor

WSClientEvent({
  1. String? cid,
  2. required String connectionId,
  3. required DateTime createdAt,
  4. OwnUserResponse? me,
  5. DateTime? receivedAt,
  6. String type = 'user.updated',
  7. required UserEventPayload user,
})

Returns a new WSClientEvent instance.

Implementation

WSClientEvent({
  this.cid,
  required this.connectionId,
  required this.createdAt,
  this.me,
  this.receivedAt,
  this.type = 'user.updated',
  required this.user,
});