Creates a StringIdText from a JSON map.
StringIdText.fromJson(Map<String, dynamic> map) : id = map['id'] ?? '', text = map['text'] ?? '';