UserCache.fromMap constructor
Implementation
factory UserCache.fromMap(Map<String, dynamic> map) =>
UserCache(id: map['id'] as int, name: map['name'] as String, token: map['token'] as String, role: map['role'] as String, avatar: map['avatar'] as String, email: map['email'] as String);