features method
Implementation
Future<List<Map>> features(String type, String part) async {
List<Map> list = [];
String key = type == mention ? "did" : "uri";
String value = type == mention ? await plugin.did(part) : part;
Map map = {key: value, "\$type": type};
list.add(map);
return list;
}