getLanguageGroupFallbacks method

Future<Map<String, String>> getLanguageGroupFallbacks()

T029 helper: Gets the current language group fallbacks configuration. Returns a map of locale -> fallback locale for all configured language group fallbacks.

Implementation

Future<Map<String, String>> getLanguageGroupFallbacks() async {
  final state = await _stateStore.load(
    config: config,
    projectRootPath: projectRootPath,
  );
  return Map<String, String>.from(state.languageGroupFallbacks);
}