isSelectableIn<T> static method

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

Returns whether model has item as a SelectableOption.Selectable.

Implementation

static bool isSelectableIn<T>(
  Object? model,
  T item, [
  bool defaultIfMissingInterface = true,
]) {
  return _isOptionCheck(
    model,
    item,
    SelectableOption.Selectable,
    defaultIfMissingInterface,
  );
}