NameCallback
public class NameCallback : AbstractCallback, ObservableObject, @unchecked Sendable
-
The prompt message displayed to the user for input.
Declaration
Swift
private(set) public var prompt: String { get } -
The name of the input field.
Declaration
Swift
public var name: String -
Initializes a new instance of
NameCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Returns the payload with the name value.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub