Creates a StringIdText from a JSON map.
factory StringIdText.fromJson(Map<String, dynamic> map) { return StringIdText(map['id'], map['text']); }