getLocalePath method

String getLocalePath(
  1. String basePath,
  2. Locale locale
)

Implementation

String getLocalePath(String basePath, Locale locale) {
  return '$basePath/${locale.toStringWithSeparator(separator: "-")}.json';
}