getDescription method

  1. @override
String getDescription()
override

Error description

Implementation

@override
String getDescription() {
  return 'Value must of one of (${_list.join(", ")})';
}