Creates a TypeIdText from a map.
factory TypeIdText.fromMap(Map<String, dynamic> obj) { return TypeIdText(obj['type'], obj['id'], obj['text']); }