columns property

List<String> get columns

Gets a list of the specified columns.

Used for the smart search function requiring its where parameter to be '*' or multiple specified columns.

Implementation

List<String> get columns {
  assert(!isGlobal);
  if (super.value.runtimeType != List<String>) {
    throw 'when the `where` parameter is of type `String`, it must be \'*\', otherwise it must be of type `List<String>`';
  }
  return super.value;
}