gobabel_core library
Classes
Extensions
-
ResultDartExt
on ResultDart<
R, Exception> - StringExtension on String
- StringExtensions on String
Constants
- babelText → const String
- babelTextDependencies → const String
- kBabelClass → const String
- kBabelFileName → const String
- kRequestMaxKeyMultiplaier → const int
Functions
-
buildFolderTree(
Directory dir) → Future< CodeBaseFolder?> -
Recursively builds a CodeBaseFolder representing the directory tree rooted
at
dir
, including only directories that contain at least one .dart file (directly or in any of their subdirectories). -
buildFolderTreeFromListOfFiles(
Set< String> filePaths) → List<CodeBaseFolder> -
buildFolderTreeSync(
Directory dir) → CodeBaseFolder? - Synchronous variant that filters similarly.
-
splitIntoManageableGroupsForApi(
Map< String, String> inputMap, [int? multiplier]) → List<Map< String, String> > - Utility functions for splitting API requests into manageable chunks to prevent overloading the API.
Typedefs
- AppearencesCount = int
- BabelFunctionDeclaration = String
- BabelFunctionImplementation = String
- ChangedFilePath = String
- ContextPath = String
- CountryCode = String
- DownloadUrl = String
- ErrorMessage = String
- FileContent = String
- FilePath = String
- HardCodedString = String
- L10nKey = String
- L10nValue = String
- LanguageCode = String
- NewL10nKey = L10nKey
- NewString = String
- Sha1 = String
- ShaCommit = String
- TranslationContent = String
- TranslationKey = String
- VariableContent = String
- VariableName = String