Language constructor

Language(
  1. {required String languageName,
  2. required String languageCode,
  3. required String threeLetterCode,
  4. required String countryCode,
  5. required TextDirection textDirection,
  6. required bool preferVerticalReading,
  7. required bool isSpaceDelimited,
  8. required TextBaseline textBaseline,
  9. required String helloWorld,
  10. required DictionaryFormat standardFormat,
  11. required String defaultFontFamily,
  12. Future<int?> prepareSearchResults(
    1. DictionarySearchParams params
    ) = prepareSearchResultsStandard}
)

Initialise the language with the required details.

Implementation

Language({
  required this.languageName,
  required this.languageCode,
  required this.threeLetterCode,
  required this.countryCode,
  required this.textDirection,
  required this.preferVerticalReading,
  required this.isSpaceDelimited,
  required this.textBaseline,
  required this.helloWorld,
  required this.standardFormat,
  required this.defaultFontFamily,
  this.prepareSearchResults = prepareSearchResultsStandard,
});