OptionValueExtensions extension

on

Methods

map<TResult extends Object?>({required TResult $boolean(OptionValueBoolean value), required TResult empty(OptionValueEmpty value), required TResult integer(OptionValueInteger value), required TResult $string(OptionValueString value)}) → TResult

Available on OptionValue, provided by the OptionValueExtensions extension

maybeMap<TResult extends Object?>({TResult $boolean(OptionValueBoolean value)?, TResult empty(OptionValueEmpty value)?, TResult integer(OptionValueInteger value)?, TResult $string(OptionValueString value)?, required TResult orElse()}) → TResult

Available on OptionValue, provided by the OptionValueExtensions extension