diff options
author | Marvin Borner | 2018-07-21 17:59:36 +0200 |
---|---|---|
committer | Marvin Borner | 2018-07-21 17:59:36 +0200 |
commit | f03f214a47a78a52d73e28a76eec78d3f10d07e5 (patch) | |
tree | eaaf280fa5b89d32018236e06e1fc22220b8fa80 /lib/models/user.dart | |
parent | acc5d5e9e960db9525a4368b393cb97fab8658e7 (diff) |
Rewritten login activity
Diffstat (limited to 'lib/models/user.dart')
-rw-r--r-- | lib/models/user.dart | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/models/user.dart b/lib/models/user.dart deleted file mode 100644 index 89e3ace..0000000 --- a/lib/models/user.dart +++ /dev/null @@ -1,21 +0,0 @@ -class User { - String _email; - String _password; - User(this._email, this._password); - - User.map(dynamic obj) { - this._email = obj["email"]; - this._password = obj["password"]; - } - - String get email => _email; - String get password => _password; - - Map<String, dynamic> toMap() { - var map = new Map<String, dynamic>(); - map["email"] = _email; - map["password"] = _password; - - return map; - } -} |