init(from:)
Creates a new instance by decoding from the given decoder.
Declaration
init(from decoder: any Decoder) throwsParameters
- decoder:
The decoder to read data from.
Creates a new instance by decoding from the given decoder.
init(from decoder: any Decoder) throwsThe decoder to read data from.