Make it build again #38

Merged
konrad merged 20 commits from fix/updated-fixes into master 2020-01-12 12:59:29 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 7619eee570 - Show all commits

View File

@ -5,7 +5,7 @@ class User {
User(this.id, this.email, this.username, this.avatarHash);
User.fromJson(Map<String, dynamic> json)
: id = json['id'],
email = json['email'],
email = json.containsKey('email') ? json['email'] : '',
username = json['username'],
avatarHash = json['avatarUrl'];