Creates an SGR parameter with value and optional sub-parameters.
value
sub
const SgrParam(this.value, this.sub);