SingleSelectCollector
public class SingleSelectCollector : ValidatedCollector, @unchecked Sendable
A class representing a DROPDOWN or RADIO type with SINGLE_SELECT inputType.
Inherits from ValidatedCollector and is used to collect multiple values from a list of options.
-
Initializes the
SingleSelectCollectorwith the given input.Declaration
Swift
public required init(with json: [String : Any])Parameters
jsonA dictionary representing the JSON object to parse.
View on GitHub