DiagramTextInputShortcutResult class final

The canonical result of recognizing an inline text input shortcut.

restoreText is present only when the edit was transformed. Editors keep that provenance transiently so the immediately following Backspace can restore what the user typed instead of making the literal unreachable.

Constructors

DiagramTextInputShortcutResult({required TextStory story, String? restoreText})
const

Properties

applied → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
restoreText → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
story → TextStory
final

Methods

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