parseU64 static method
Parses a value into an unsigned 64-bit integer (0–2^64−1).
Implementation
static BigInt parseU64({Object? value}) {
try {
final toint = BigintUtils.parse(value);
return toint.asU64;
} catch (e) {
throw BcsSerializationException(
"Invalid value for move type 'U64': Expected an unsigned 64-bit integer (0–2^64−1).",
details: {"value": "$value"},
);
}
}