AppHelpers class

Constructors

AppHelpers()

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

noSuchMethod(Invocation? invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String?
A string representation of this object.
inherited

Operators

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

Static Properties

hexArray List<String?>?
getter/setter pair

Static Methods

bigIntToBuffer(BigInt? i) Uint8List?
Converts an BigInt to a Uint8List
bigIntToBytes(BigInt? bigInt) Uint8List?
Convert a bigint to a byte array
bigIntToHex(BigInt? i) String?
Converts a BigInt into a hex String
binaryToHex(String? binary) String?
Converts a binary string into a hex string
bytesToUtf8String(Uint8List? bytes) String?
Convert byte array to string utf-8
byteToBigInt(Uint8List? bigIntBytes) BigInt?
byteToHex(Uint8List? bytes) String?
Converts a Uint8List to a hex string
concat(List<Uint8List?>? bytes) Uint8List?
Concatenates one or more byte arrays
fromHexString(dynamic string) String?
hexToBinary(String? hex) String?
Converts a hex string to a binary string
hexToBytes(String? hex) Uint8List?
Converts a hex string to a Uint8List
intToBytes(int? integer, int? length) Uint8List?
isHexString(String? input) bool?
padUint8ListTo32(Uint8List? data) Uint8List?
reverse(Uint8List? bytes) Uint8List?
stringToBytesUtf8(String? str) Uint8List?
Convert string to byte array
toHexString(dynamic byteArray, bool? withPrefix) String?