FilterableField constructor

const FilterableField({
  1. required String label,
  2. required Type comparatorsType,
  3. List<String>? comparators,
  4. Function? customCompare,
  5. bool? isNullable,
})

Creates a FilterableField annotation.

Implementation

const FilterableField({
  required this.label,
  required this.comparatorsType,
  this.comparators,
  this.customCompare,
  bool? isNullable,
}) : isNullable = isNullable ?? false;