SimpleTranslation.fromJson constructor
Implementation
factory SimpleTranslation.fromJson({required Map<String, dynamic> json}) =>
SimpleTranslation(
original: json['original'] as String,
elements: (json['elements'] as List)
.map((e) => TranslationElement.fromJson(json: e))
.toList(),
);