Add a primitive type for a User
This commit is contained in:
parent
23d93a7f9a
commit
bdebdf89d5
1 changed files with 8 additions and 0 deletions
|
@ -98,3 +98,11 @@ class CredentialsPrompt extends State<CredentialsPage> {
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class User {
|
||||||
|
String name;
|
||||||
|
String passwordHash;
|
||||||
|
String passwordSalt;
|
||||||
|
|
||||||
|
User({required this.name, required this.passwordHash, required this.passwordSalt});
|
||||||
|
}
|
Loading…
Reference in a new issue