nullIfBool method

T? nullIfBool(
  1. bool value
)

Implementation

T? nullIfBool(bool value) => nullIf((x) => value);