MyUserEvent constructor

const MyUserEvent(
  1. UserId userId
)

Implementation

const MyUserEvent(this.userId);