toFixedAfd method
Implementation
FixedAfd toFixedAfd() {
switch (this) {
case 'AFD_0000':
return FixedAfd.afd_0000;
case 'AFD_0010':
return FixedAfd.afd_0010;
case 'AFD_0011':
return FixedAfd.afd_0011;
case 'AFD_0100':
return FixedAfd.afd_0100;
case 'AFD_1000':
return FixedAfd.afd_1000;
case 'AFD_1001':
return FixedAfd.afd_1001;
case 'AFD_1010':
return FixedAfd.afd_1010;
case 'AFD_1011':
return FixedAfd.afd_1011;
case 'AFD_1101':
return FixedAfd.afd_1101;
case 'AFD_1110':
return FixedAfd.afd_1110;
case 'AFD_1111':
return FixedAfd.afd_1111;
}
throw Exception('$this is not known in enum FixedAfd');
}