DefaultModelProvider
public struct DefaultModelProvider<Element> : ModelProvider where Element : Model
-
Declaration
Swift
public init(element: Element? = nil) -
Declaration
Swift
public init(identifiers: [LazyReferenceIdentifier]?) -
load()AsynchronousDeclaration
Swift
public func load() async throws -> Element? -
Declaration
Swift
public func getState() -> ModelProviderState<Element> -
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub