UnaryExpression<T extends Object> constructor

const UnaryExpression<T extends Object>(
  1. UnaryOperator operator,
  2. Expression<Object> operand, {
  3. SqlType<T>? type,
})

Create a unary expression from the operator and the operand.

Implementation

const UnaryExpression(this.operator, this.operand, {SqlType<T>? type})
  : _type = type;