Add Support for Fetching List of Supported Languages in Translator Pa… #70
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new feature to the Flutter Translator package: the ability to retrieve a list of supported languages. By implementing this feature, users gain access to a comprehensive list of languages supported for translation directly from the Translator API. This enhancement enhances the package's versatility and user-friendliness.
The implementation involves adding a method or function within the package that interacts with the Translator API to fetch the list of supported languages. Once integrated, users can programmatically access this list, enabling them to make well-informed decisions when selecting languages for translation within their applications.
This contribution aims to streamline the development process for Flutter applications requiring language translation capabilities. By improving an existing package, we align with the principles of open-source collaboration, benefitting the broader Flutter community.
Usage
There is getLanguages() method that returns List of supported languages and code