GenerateDartModel.optional constructor

const GenerateDartModel.optional({
  1. String? className,
  2. Set? fields,
  3. bool? shouldInherit,
  4. String? inheritanceConstructor,
  5. String? keyStringCase,
  6. String? description,
  7. String? tableName,
  8. String? schema,
  9. List<Map<String, dynamic>>? indexes,
})

Construcs a new instance of GenerateDartModel, forcing all parameters to be optional.

Implementation

const GenerateDartModel.optional({
  this.className,
  this.fields,
  this.shouldInherit,
  this.inheritanceConstructor,
  this.keyStringCase,
  this.description,
  this.tableName,
  this.schema,
  this.indexes,
});