takeUnless method

T? takeUnless(
  1. bool condition(
    1. T it
    )
)

Implementation

T? takeUnless(final bool Function(T it) condition) =>
    condition.call(this) ? null : this;