fromMap static method
override
Construct from Map.
Implementation
static LanguagePackStringValue? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'languagePackStringValueOrdinary':
return LanguagePackStringValueOrdinary.fromMap(_map);
case 'languagePackStringValuePluralized':
return LanguagePackStringValuePluralized.fromMap(_map);
case 'languagePackStringValueDeleted':
return LanguagePackStringValueDeleted.fromMap(_map);
case null:
default:
return null;
}
}