Float class Null safety

Datatype Float

Inheritance

Constructors

Float(double num, {ErrorGenerator? error_generator})
Used to insert a float into nbt data

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value double
the float value (number from -9223372036854775808 to 9223372036854775807)
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
set(double v) → void
the float value (number from -9223372036854775808 to 9223372036854775807)
toSimple() double
returns a simple, json compatible representation of the content
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited