mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-14 16:12:20 -06:00
Initial commit
This commit is contained in:
13
lib/features/login/model/user_credentials.model.dart
Normal file
13
lib/features/login/model/user_credentials.model.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
class UserCredentials {
|
||||
final String? username;
|
||||
final String? password;
|
||||
|
||||
UserCredentials({this.username, this.password});
|
||||
|
||||
UserCredentials copyWith({String? username, String? password}) {
|
||||
return UserCredentials(
|
||||
username: username ?? this.username,
|
||||
password: password ?? this.password,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user