WSClientEvent constructor
WSClientEvent({
- String? cid,
- required String connectionId,
- required DateTime createdAt,
- OwnUserResponse? me,
- DateTime? receivedAt,
- String type = 'user.updated',
- 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,
});