Variable<T extends Object> constructor

const Variable<T extends Object>(
  1. T? value, [
  2. UserDefinedSqlType<T>? _customType
])

Constructs a new variable from the value.

For variables of CustomSqlTypes, the type can also be provided as a parameter to control how the value is mapped to SQL.

Implementation

const Variable(this.value, [this._customType]);