Optional rich-text flags. Unsupported flags are rejected by their receiving field.
Constructs boolean style flags; nil omits a flag and false is preserved.
Like new/1, raising on failure.
new/1
@type t() :: %Slackblocks.RichText.Style{ bold: boolean() | nil, client_highlight: boolean() | nil, code: boolean() | nil, highlight: boolean() | nil, italic: boolean() | nil, strike: boolean() | nil, unlink: boolean() | nil }
@spec new(keyword()) :: {:ok, t()} | {:error, Slackblocks.ValidationError.t()}
@spec new!(keyword()) :: t()