TomlInteger.oct constructor

TomlInteger.oct(
  1. BigInt value
)

Creates a new octal integer value.

The value must be non-negative

Implementation

TomlInteger.oct(this.value) : format = TomlIntegerFormat.oct {
  if (value.isNegative) {
    throw ArgumentError(
      'Octal TOML integer must be non-negative, got $value.',
    );
  }
}