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