From bdebdf89d5c083e69e108dcaf8cd8895a25af46e Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 1 Jul 2024 23:12:51 -0700 Subject: [PATCH] Add a primitive type for a User --- lib/pages/credentials_prompt.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/pages/credentials_prompt.dart b/lib/pages/credentials_prompt.dart index 760fc3a..7130073 100644 --- a/lib/pages/credentials_prompt.dart +++ b/lib/pages/credentials_prompt.dart @@ -98,3 +98,11 @@ class CredentialsPrompt extends State { ))); } } + +class User { + String name; + String passwordHash; + String passwordSalt; + + User({required this.name, required this.passwordHash, required this.passwordSalt}); +} \ No newline at end of file