Integer class

Datatype Integer

Inheritance

Constructors

Integer(int num, {ErrorGenerator? error_generator})
Used to integer a integer 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 integer value (number from -2147483648 to 2147483647)
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(int v) → void
the integer value (number from -2147483648 to 2147483647)
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