init(from:)
Creates an instance from the given decoder.
Declaration
init(from decoder: any Decoder) throwsParameters
- decoder:
The decoder from which to read.
Creates an instance from the given decoder.
init(from decoder: any Decoder) throwsThe decoder from which to read.