Skip to content

Type Method

singleSource(_:)

Convenience for initializing a LeafSources object with a single LeafSource
static func singleSource(_ source: any LeafSource) -> LeafSources

Parameters

source

A fully configured LeafSource

Return Value

Configured LeafSource instance