WSClientEvent constructor
WSClientEvent({
- required DateTime createdAt,
- DateTime? receivedAt,
- String type = 'user.updated',
- required UserEventPayload user,
Returns a new WSClientEvent instance.
Implementation
WSClientEvent({
required this.createdAt,
this.receivedAt,
this.type = 'user.updated',
required this.user,
});