blob: d44b7a5f3a85a377fd25ed63223cf3b562346916 [file] [log] [blame] [view]
# DoubleProperty class
*[<Null safety>](https://dart.dev/null-safety)*
<p>A <code>Property</code> holding a <code>double</code>.</p>
<p>Only <a href="../package-fuchsia_inspect_inspect/Node/doubleProperty.md">Node.doubleProperty()</a> can create this object.</p>
## Constructors
[DoubleProperty.deleted](../package-fuchsia_inspect_inspect/DoubleProperty/DoubleProperty.deleted.md) ()
Creates a <a href="../package-fuchsia_inspect_inspect/DoubleProperty-class.md">DoubleProperty</a> that does nothing.
## Properties
##### [hashCode](../package-fuchsia_inspect_inspect/DoubleProperty/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/DoubleProperty/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/DoubleProperty/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/DoubleProperty/add.md)(double delta) void
Adds <code>delta</code> to the value of this metric.
_<span class="feature inherited">inherited</span>_
##### [delete](../package-fuchsia_inspect_inspect/DoubleProperty/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/DoubleProperty/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/DoubleProperty/setValue.md)(double value) void
Sets the value of this <code>Property</code>.
_<span class="feature inherited">inherited</span>_
##### [subtract](../package-fuchsia_inspect_inspect/DoubleProperty/subtract.md)(double delta) void
Subtracts <code>delta</code> from the value of this metric.
_<span class="feature inherited">inherited</span>_
##### [toString](../package-fuchsia_inspect_inspect/DoubleProperty/toString.md)() String
A string representation of this object.
_<span class="feature inherited">inherited</span>_
## Operators
##### [operator ==](../package-fuchsia_inspect_inspect/DoubleProperty/operator_equals.md)(Object other) bool
The equality operator.
_<span class="feature inherited">inherited</span>_