read method

Future<String> read(
  1. String locale
)
override

Read the locale data found for locale on our path.

Implementation

Future<String> read(String locale) {
  var file = File(join(path, '$locale.json'));
  return file.readAsString();
}