projectionCount property

  1. @override
int? get projectionCount
override

Known number of selected expressions, or null when it cannot be proven.

Implementation

@override
int? get projectionCount {
  int? count;
  for (final member in members) {
    final current = member.projectionCount;
    if (current == null) return null;
    count ??= current;
    if (current != count) return null;
  }
  return count;
}