DefNumber class final Protocol

A defNumber element.

Inheritance

Constructors

DefNumber({required String name, String? label, String format = '%g', double min = 0, double max = 0, double step = 0, double value = 0})
Creates a number element definition.
const

Properties

format → String
The printf-style display format, possibly sexagesimal (%m).
final
hashCode → int
The hash code for this object.
no setterinherited
label → String?
A human readable label, or null to use name.
finalinherited
max → double
The maximum value. When min equals max the range is unbounded.
final
min → double
The minimum value. When min equals max the range is unbounded.
final
name → String
The element name, unique within its property.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
step → double
The step between allowed values, or 0 for any value.
final
value → double
The initial value.
final

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