TF-1068 implement data layer save recent login username & get all login username
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
class RecentLoginUsername with EquatableMixin {
|
||||
final String username;
|
||||
final DateTime creationDate;
|
||||
|
||||
RecentLoginUsername(this.username, this.creationDate);
|
||||
|
||||
factory RecentLoginUsername.now(String username) => RecentLoginUsername(username, DateTime.now());
|
||||
|
||||
@override
|
||||
List<Object?> get props => [ username, creationDate ];
|
||||
}
|
||||
Reference in New Issue
Block a user