FieldModel.optional constructor

const FieldModel.optional({
  1. List<String>? fieldPath,
  2. dynamic fieldType,
  3. bool? nullable,
  4. List<Map<String, dynamic>>? children,
  5. bool? primaryKey,
  6. bool? foreignKey,
  7. Object? fallback,
  8. String? description,
})

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

Implementation

const FieldModel.optional({
  this.fieldPath,
  this.fieldType,
  this.nullable,
  this.children,
  this.primaryKey,
  this.foreignKey,
  this.fallback,
  this.description,
});