EquatableUser constructor

  1. @mustCallSuper
const EquatableUser({
  1. required String id,
  2. required DateTime createdAt,
  3. String? email,
  4. String? username,
})

User model

Implementation

@mustCallSuper
const EquatableUser(
    {required this.id, required this.createdAt, this.email, this.username});