blob: 5925c62aa2d5445b396dfee930c787c15a5698c4 [file] [log] [blame] [view] [edit]
# StringProperty class
*[<Null safety>](https://dart.dev/null-safety)*
<p>A <code>Property</code> holding a <code>String</code>.</p>
<p>Only <a href="../package-fuchsia_inspect_inspect/Node/stringProperty.md">Node.stringProperty()</a> can create this object.</p>
## Constructors
[StringProperty.deleted](../package-fuchsia_inspect_inspect/StringProperty/StringProperty.deleted.md) ()
Creates a <a href="../package-fuchsia_inspect_inspect/StringProperty-class.md">StringProperty</a> that does nothing.
## Properties
##### [hashCode](../package-fuchsia_inspect_inspect/StringProperty/hashCode.md) &#8594; int
The hash code for this object.
_<span class="feature">read-only</span><span class="feature">inherited</span>_
##### [runtimeType](../package-fuchsia_inspect_inspect/StringProperty/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_<span class="feature">read-only</span><span class="feature">inherited</span>_
##### [valid](../package-fuchsia_inspect_inspect/StringProperty/valid.md) &#8594; bool
Returns true only if this <code>Property</code> is present in underlying storage.
_<span class="feature">read-only</span><span class="feature">inherited</span>_
## Methods
##### [delete](../package-fuchsia_inspect_inspect/StringProperty/delete.md)() void
Deletes this <code>Property</code> from underlying storage.
Calls on a deleted <code>Property</code> have no effect and do not result in an
error.
_<span class="feature">inherited</span>_
##### [noSuchMethod](../package-fuchsia_inspect_inspect/StringProperty/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_<span class="feature">inherited</span>_
##### [setValue](../package-fuchsia_inspect_inspect/StringProperty/setValue.md)(String value) void
Sets the value of this <code>Property</code>.
_<span class="feature">inherited</span>_
##### [toString](../package-fuchsia_inspect_inspect/StringProperty/toString.md)() String
A string representation of this object.
_<span class="feature">inherited</span>_
## Operators
##### [operator ==](../package-fuchsia_inspect_inspect/StringProperty/operator_equals.md)(Object other) bool
The equality operator.
_<span class="feature">inherited</span>_