init(from:)

iOS
17+
macOS
14+
tvOS
17+
watchOS
10+
init(from decoder: any Decoder) throws