Contents

defaultResult()

The default value for parameters using this provider when no value is provided by the user.

Declaration

func defaultResult() async -> Self.DefaultValue?

Discussion

Either a single value or an array of values may be provided. If an array is provided and the parameter requires a single value, only the first element of the array is used.

See Also

Returning the parameter options