encode(to:)
Serializes a captured room to the specified encoder.
Declaration
func encode(to encoder: any Encoder) throwsParameters
- encoder:
An object that the captured room serializes to.
Serializes a captured room to the specified encoder.
func encode(to encoder: any Encoder) throwsAn object that the captured room serializes to.