LanguageTool class Null safety

Objects of this class are used to interact with the LanguageTool API.

Constructors

LanguageTool({bool picky = false, String language = 'auto'})
Onject to interact with the LanguageTool API.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
language String
A language code like en-US, de-DE, fr, or auto to guess the anguage automatically.
final
picky bool
If set to picky, additional rules will be activated, i.e. rules that you might only find useful when checking formal text.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

check(String text) Future<List<WritingMistake>>
Check a text with LanguageTool for possible style and grammar issues.
languages() Future<List<Language>?>
Get a list of supported languages.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
parseWritings(LanguageToolAnswerRaw languageToolAnswer) List<WritingMistake>
Converts a LanguageToolAnswerRaw in a WritingMistake.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited