isNull method

String isNull(
  1. String expression
)

Returns a null-check expression string.

Implementation

String isNull(String expression) {
  return '$expression == null';
}