Attributes constructor Null safety

Attributes(
  1. String username,
  2. Role roles,
  3. int version
)

Implementation

Attributes(this.username, this.roles, this.version);