setTranslation method
- PackTranslation translation, [
- String locale = kFallbackLocale
Implementation
SetonixData setTranslation(PackTranslation translation,
[String locale = kFallbackLocale]) =>
setAsset(
'$kPackTranslationsPath/$locale.json',
utf8.encode(translation.toJson()),
);