UserCache constructor

const UserCache({
  1. int? id,
  2. required String? name,
  3. String? avatar,
  4. required String? role,
  5. String? email,
  6. required String token,
})

Implementation

const UserCache({this.id, required this.name, this.avatar, required this.role, this.email, required this.token});