takeUnless method

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

takeIf反向应用

Implementation

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