isHiddenIn<T> static method

bool isHiddenIn<T>(
  1. Object? model,
  2. T item, [
  3. bool defaultIfMissingInterface = false
])

Returns whether model has item as a SelectableOption.Hidden.

Implementation

static bool isHiddenIn<T>(
  Object? model,
  T item, [
  bool defaultIfMissingInterface = false,
]) {
  return _isOptionCheck(
    model,
    item,
    SelectableOption.Hidden,
    defaultIfMissingInterface,
  );
}