WorkspaceEditEntryMetadata class

Additional data for entries of a workspace edit. Supports to label entries and marks entries as needing confirmation by the user. The editor groups edits with equal labels into tree nodes, for instance all edits labelled with "Changes in Strings" would be a tree node.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

WorkspaceEditEntryMetadata({bool? needsConfirmation, String? label, String? description, Object? iconPath})
factory

Properties

description String?

Available on WorkspaceEditEntryMetadata, provided by the WorkspaceEditEntryMetadata$Typings extension

A human-readable string which is rendered less prominent on the same line.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconPath Object?

Available on WorkspaceEditEntryMetadata, provided by the WorkspaceEditEntryMetadata$Typings extension

The icon path or {@link ThemeIcon} for the edit.
getter/setter pair
label String

Available on WorkspaceEditEntryMetadata, provided by the WorkspaceEditEntryMetadata$Typings extension

A human-readable string which is rendered prominent.
getter/setter pair
needsConfirmation bool

Available on WorkspaceEditEntryMetadata, provided by the WorkspaceEditEntryMetadata$Typings extension

A flag which indicates that user confirmation is needed.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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