Membership constructor

Membership({
  1. required String $id,
  2. required String $createdAt,
  3. required String $updatedAt,
  4. required String userId,
  5. required String userName,
  6. required String userEmail,
  7. required String teamId,
  8. required String teamName,
  9. required String invited,
  10. required String joined,
  11. required bool confirm,
  12. required bool mfa,
  13. required List roles,
})

Implementation

Membership({
  required this.$id,
  required this.$createdAt,
  required this.$updatedAt,
  required this.userId,
  required this.userName,
  required this.userEmail,
  required this.teamId,
  required this.teamName,
  required this.invited,
  required this.joined,
  required this.confirm,
  required this.mfa,
  required this.roles,
});