compareAnd static method

bool? compareAnd(
  1. bool? a,
  2. bool? b
)

'and' comparison with null values

Implementation

static bool? compareAnd(bool? a, bool? b) {
  return a != false ? b : false;
}