User constructor

User({
  1. String? id,
  2. String? oauthID,
  3. required String? name,
  4. UserStatusEnum? status = const UserStatusEnum._('active'),
})

Returns a new User instance.

Implementation

User({
  this.id,
  this.oauthID,
  required this.name,
  this.status = const UserStatusEnum._('active'),
});