toRecordType method
Implementation
RecordType toRecordType() {
switch (this) {
case 'CNAME':
return RecordType.cname;
}
throw Exception('$this is not known in enum RecordType');
}
RecordType toRecordType() {
switch (this) {
case 'CNAME':
return RecordType.cname;
}
throw Exception('$this is not known in enum RecordType');
}