Short class Null safety

Datatype Short

Inheritance

Constructors

Short(int num, {ErrorGenerator? error_generator})
Used to insert a short 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 short value (number from -32768 to 32767)
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
set(int v) → void
the short value (number from -32768 to 32767)
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