diff options
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; - } -} |