Integer class Null safety

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
the integer value (number from -2147483648 to 2147483647)
read-only

Methods

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