Byte class Null safety
Datatype Byte
- Inheritance
- Object
- GsonValue
- NumberValue
- Byte
Constructors
- Byte(int num, {ErrorGenerator? error_generator})
- Used to insert a byte into nbt data
- Byte.Boolean(bool b, {ErrorGenerator? error_generator})
- Used to insert a boolean into nbt data
Properties
- boolValue → bool?
-
The boolean value (if the byte is no boolean then null)
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isBool → bool
-
is the Byte a boolean
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- value → int
-
the byte value (number from -128 to 127)
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
set(
dynamic v) → void - Set byte to number or boolean
-
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