nullIfValue method

T? nullIfValue(
  1. T value
)

Implementation

T? nullIfValue(T value) => nullIf((x) => x == value);