parseU32 static method
Parses a value into an unsigned 32-bit integer (0–4,294,967,295).
Implementation
static int parseU32({Object? value}) {
try {
final toint = IntUtils.parse(value);
return toint.asUint32;
} catch (e) {
throw BcsSerializationException(
"Invalid value for move type 'U32': Expected an unsigned 32-bit integer (0–4,294,967,295).",
details: {"value": "$value"});
}
}