Translation constructor
Translation({
- required List translationString,
Implementation
Translation({required this.translationString}) {
this.list = List<dynamic>.from(this.translationString)
.map((translation) => TranslationProps(
property: translation['property'],
locale: translation['locale'],
value: translation['value']))
.toList();
}