introduceVariable method Null safety

void introduceVariable(
  1. Variable v,
  2. dynamic value
)

Introduces a variable that will be sent to the database engine. Whenever this method is called, a question mark should be added to the buffer so that the prepared statement can be executed with the variable. The value must be a type that is supported by the sqflite library. A list of supported types can be found here.

Implementation

void introduceVariable(Variable v, dynamic value) {
  introducedVariables.add(v);
  _boundVariables.add(value);
}