PasteNodeIntent class
The PasteNodeIntent class is a Dart class that represents an intent to paste a node.
Constructors
- PasteNodeIntent()
-
The
const PasteNodeIntent();statement is creating an instance of thePasteNodeIntentclass using a const constructor. This means that the instance ofPasteNodeIntentis a compile-time constant, which can help with performance optimizations and memory efficiency. By usingconst, Dart ensures that only one instance ofPasteNodeIntentis created and reused whenever needed, rather than creating a new instance every time it is referenced. This can be beneficial in terms of reducing memory usage and improving performance in your Dart code.const
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
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited