name property
String?
get
name
Implementation
String? get name {
switch (this) {
case OrderIDValidationError.invalid:
return "This is not a valid orderID";
default:
return null;
}
}