LocalizedString.fromJson constructor
Constructs a LocalizedString instance from a JSON map.
json
- The JSON map containing the localized string data.
Implementation
LocalizedString.fromJson(Map<String, dynamic> json)
: this.id = Convert.toStr(json['id'], ''),
this.translations = _parseTranslations(json);