init(from:)

iOS
6.0+
macOS
10.8+
tvOS
9.0+
watchOS
2.0+
init(from decoder: any Decoder) throws