encode method

Implementation

String encode(DomainPreviewDomainTypeEnum data) => data.value;