isHistoryTypeData method

bool isHistoryTypeData(
  1. dynamic value
)

Implementation

bool isHistoryTypeData(dynamic value) {
  if(value != "" && value is HistoryType?) {
    return true;
  } else {
    return false;
  }
}