Long class

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

Methods

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