errorDescription property

String errorDescription

Implementation

String get errorDescription {
  return "Can't use the type ${invalidType.userVisibleName} as an enum "
      'type: $reason';
}