command property
Command?
get
command
An optional command for this label part.
The editor renders parts with commands as clickable links. The command is added to the context menu when a label part defines {@link InlayHintLabelPart.location location} and {@link InlayHintLabelPart.command command} .
Note that this property can be set late during {@link InlayHintsProvider.resolveInlayHint resolving} of inlay hints.
Implementation
_i3.Command? get command => _i5.getProperty(
this,
'command',
);
set
command
(Command? value)
Implementation
set command(_i3.Command? value) {
_i5.setProperty(
this,
'command',
value ?? _i6.undefined,
);
}