encode method

Implementation

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