Translation.forEmptySource constructor
Implementation
factory Translation.forEmptySource(
String sourceLanguage,
List<String> targets,
) {
return Translation(
sourceLanguage: sourceLanguage,
source: '',
translations: targets.map((x) => MapEntry(x, '')).toMap(),
);
}