get static method
Implementation
static Feature get(Map map) {
String type = map["\$type"];
if (type == mention) {
return Mention(type, map["did"]);
} else if (type == link) {
return Link(type, map["uri"]);
} else {
return Tag(type, map["tag"]);
}
}