getJsonFilePath method

String getJsonFilePath(
  1. String locale
)

Implementation

String getJsonFilePath(String locale) {
  if (hasOutputJsonDir) {
    var name = _jsonOutputFilename.replaceAll('*', locale);
    if (!name.contains('.')) {
      name += '.json';
    }
    return p.join(jsonOutputDir, name);
  }
  return '';
}