Instance Method encode(to:) Encode the property’s data to an external representation. func encode(to encoder: any Encoder) throws