title property

String get title

Implementation

String get title {
  final typeName = chartTypeToString(type);
  switch (status) {
    case 'invalid':
      return 'Invalid $typeName chart payload';
    case 'warning':
      return '$typeName chart payload has warnings';
    default:
      return 'Valid $typeName chart payload';
  }
}