User.fromJson constructor
Implementation
factory User.fromJson(Map<String, dynamic> map) {
return User(
email: map['email'] as String,
name: map['name'] as String,
userId: map['local_id'] as String,
data: map['data'] as Map<String, dynamic>?,
);
}