factory UserInfo.fromJson(Map<String, dynamic> json) { return UserInfo( date: json['date'] as String?, email: json['email'] as String?, name: json['name'] as String?, ); }