load method
Implementation
Future<FluentLocalizations> load() async {
final path = 'assets/i18n/$locale.ftl';
final source = await rootBundle.loadString(path);
this.addMessages(source);
String patchPath = 'assets/i18n/patches/$locale.ftl';
if (await assetExists(patchPath)) {
final String source = await rootBundle.loadString(patchPath);
this.addMessages(source);
}
return this;
}