not method

bool? not()

Returns the inverse of this boolean.

Implementation

bool? not() {
  if (this == null) return null;
  return !this!;
}