TomlInteger.hex constructor
TomlInteger.hex(
- BigInt value
Creates a new hexadecimal integer value.
The value must be non-negative
Implementation
TomlInteger.hex(this.value) : format = TomlIntegerFormat.hex {
if (value.isNegative) {
throw ArgumentError(
'Hexadecimal TOML integer must be non-negative, got $value.',
);
}
}