LanguagePackStringValue.fromJson constructor
a LanguagePackStringValue return type can be :
Implementation
factory LanguagePackStringValue.fromJson(Map<String, dynamic> json) {
switch (json["@type"]) {
case LanguagePackStringValueOrdinary.CONSTRUCTOR:
return LanguagePackStringValueOrdinary.fromJson(json);
case LanguagePackStringValuePluralized.CONSTRUCTOR:
return LanguagePackStringValuePluralized.fromJson(json);
case LanguagePackStringValueDeleted.CONSTRUCTOR:
return LanguagePackStringValueDeleted.fromJson(json);
default:
return const LanguagePackStringValue();
}
}