isNotNull method

String isNotNull(
  1. String expression
)

Returns a non-null-check expression string.

Implementation

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