code property Null safety
Implementation
String get code {
switch (this) {
case BCSType.good:
return "G";
case BCSType.moderate:
return "M";
case BCSType.bad:
return "B";
}
}
String get code {
switch (this) {
case BCSType.good:
return "G";
case BCSType.moderate:
return "M";
case BCSType.bad:
return "B";
}
}