blob: c207f6add7138b1baa6c77c6fc0bfd8e09ef63b5 [file] [log] [blame] [view]
# IntProperty class
*[<Null safety>](https://dart.dev/null-safety)*
<p>A <code>Property</code> holding an <code>int</code>.</p>
<p>Only <a href="../package-fuchsia_inspect_inspect/Node/intProperty.md">Node.intProperty()</a> can create this object.</p>
## Constructors
[IntProperty.deleted](../package-fuchsia_inspect_inspect/IntProperty/IntProperty.deleted.md) ()
Creates an <a href="../package-fuchsia_inspect_inspect/IntProperty-class.md">IntProperty</a> that does nothing.
## Properties
##### [hashCode](../package-fuchsia_inspect_inspect/IntProperty/hashCode.md) &#8594; int
The hash code for this object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [runtimeType](../package-fuchsia_inspect_inspect/IntProperty/runtimeType.md) &#8594; Type
A representation of the runtime type of the object.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
##### [valid](../package-fuchsia_inspect_inspect/IntProperty/valid.md) &#8594; bool
Returns true only if this <code>Property</code> is present in underlying storage.
_<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_
## Methods
##### [add](../package-fuchsia_inspect_inspect/IntProperty/add.md)(int delta) void
Adds <code>delta</code> to the value of this metric.
_<span class="feature inherited">inherited</span>_
##### [delete](../package-fuchsia_inspect_inspect/IntProperty/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">inherited</span>_
##### [noSuchMethod](../package-fuchsia_inspect_inspect/IntProperty/noSuchMethod.md)(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
_<span class="feature inherited">inherited</span>_
##### [setValue](../package-fuchsia_inspect_inspect/IntProperty/setValue.md)(int value) void
Sets the value of this <code>Property</code>.
_<span class="feature inherited">inherited</span>_
##### [subtract](../package-fuchsia_inspect_inspect/IntProperty/subtract.md)(int delta) void
Subtracts <code>delta</code> from the value of this metric.
_<span class="feature inherited">inherited</span>_
##### [toString](../package-fuchsia_inspect_inspect/IntProperty/toString.md)() String
A string representation of this object.
_<span class="feature inherited">inherited</span>_
## Operators
##### [operator ==](../package-fuchsia_inspect_inspect/IntProperty/operator_equals.md)(Object other) bool
The equality operator.
_<span class="feature inherited">inherited</span>_