Long class Null safety

Datatype Long

Inheritance

Constructors

Long(int num, {ErrorGenerator? error_generator})
Used to insert a long 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 int
the long 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(int v) → void
the long value (number from -9223372036854775808 to 9223372036854775807)
toSimple() int
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