GenerationContext.fromDb constructor Null safety

GenerationContext.fromDb(
  1. DatabaseConnectionUser executor,
  2. {bool supportsVariables = true}
)

Constructs a GenerationContext by copying the relevant fields from the database.

Implementation

GenerationContext.fromDb(DatabaseConnectionUser this.executor,
    {this.supportsVariables = true})
    : options = executor.options;