Float class

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
the float value (number from -9223372036854775808 to 9223372036854775807)
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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