init(from:)

iOS
15+
macOS
12+
tvOS
15+
watchOS
8+
init(from decoder: any Decoder) throws