nullChecked property

Expression get nullChecked
inherited

Applies the null check operator on this expression, returning this !.

Please note that this is only valid when emitting code with the null safety syntax enabled.

Implementation

Expression get nullChecked => BinaryExpression._(
      this,
      const LiteralExpression._('!'),
      '',
      addSpace: false,
    );