discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

discriminatorValue property

String? get discriminatorValue

Implementation

String? get discriminatorValue {
  if (this is AlarmTableComponent) {
    return r'ALARM_TABLE';
  }
  if (this is DashboardComponent) {
    return r'DASHBOARD';
  }
  if (this is DividerComponent) {
    return r'DIVIDER';
  }
  if (this is EntityTableComponent) {
    return r'ENTITY_TABLE';
  }
  if (this is ErrorComponent) {
    return r'ERROR';
  }
  if (this is HeadingComponent) {
    return r'HEADING';
  }
  if (this is ImageComponent) {
    return r'IMAGE';
  }
  if (this is LatestChartComponent) {
    return r'LATEST_CHART';
  }
  if (this is PageBreakComponent) {
    return r'PAGE_BREAK';
  }
  if (this is RichTextComponent) {
    return r'RICH_TEXT';
  }
  if (this is SplitViewComponent) {
    return r'SPLIT_VIEW';
  }
  if (this is SubReportComponent) {
    return r'SUB_REPORT';
  }
  if (this is TimeseriesChartComponent) {
    return r'TIME_SERIES_CHART';
  }
  if (this is TimeseriesTableComponent) {
    return r'TIME_SERIES_TABLE';
  }
  return null;
}