factory Hint.withMap(Map<String, dynamic> map) { final hint = Hint(); hint.addAll(map); return hint; }