Args class

Args class handles serialisation and deserialisation

Constructors

Args.new({Uint8List? initialData})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addArray(List value, ArrayTypes type) → void
addArray adds an array of a given type to the serialization
addBool(bool value) → void
addF32(double value) → void
addF64(double value) → void
addI16(int value) → void
addI32(int value) → void
addI64(BigInt value) → void
addString(String value) → void
addU128(BigInt value) → void
addU16(int value) → void
addU256(BigInt value) → void
addU32(int value) → void
addU64(BigInt value) → void
addU8(int value) → void
nextArray(ArrayTypes type) List
nextBool() bool
nextF32() double
nextF64() double
nextI16() int
nextI32() int
nextI64() BigInt
nextString() String
nextU128() BigInt
nextU16() int
nextU256() BigInt
nextU32() int
nextU64() BigInt
nextU8() int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset() int
serialise() Uint8List
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited