RAutocompleteRemoteCommands class abstract interface

Commands for interacting with the remote source.

Passed to renderer via request features so slots can trigger retry or clear error states.

Example usage in a slot:

final commands = ctx.features.get(rAutocompleteRemoteCommandsKey);
if (commands != null && remoteState?.canRetry == true) {
  return TextButton(
    onPressed: commands.retry,
    child: Text('Retry'),
  );
}

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearError() → void
Clear the current error state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retry() → void
Retry the last failed remote load.
toString() String
A string representation of this object.
inherited

Operators

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