encode(to:)
Encodes the demand to the provide encoder.
Declaration
func encode(to encoder: any Encoder) throwsParameters
- encoder:
An encoder instance.
Encodes the demand to the provide encoder.
func encode(to encoder: any Encoder) throwsAn encoder instance.