negate function

bool negate(
  1. bool a
)

Inverts of the passed argument.

Implementation

// ignore: avoid_positional_boolean_parameters
bool negate(bool a) => !a;