ThrottlingLangToolService class

A language check service with debouncing.

Inheritance

Constructors

ThrottlingLangToolService(LanguageCheckService baseService, Duration throttlingDuration)
Creates a new instance of the ThrottlingLangToolService class.

Properties

baseService LanguageCheckService
A base language check service that is used to interact with the language check API.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throttling → Throttling
A throttling used to throttle the API calls.
final

Methods

dispose() Future<void>
Disposes resources of this LanguageCheckService.
override
findMistakes(String text) Future<Result<List<Mistake>>?>
Returns found mistakes in the given text.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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