FieldCompanion constructor Null safety

const FieldCompanion(
  1. {Value<String> id = const Value.absent(),
  2. Value<DateTime> created = const Value.absent(),
  3. Value<DateTime> updated = const Value.absent(),
  4. Value<FieldType> type = const Value.absent(),
  5. Value<String> name = const Value.absent(),
  6. Value<bool> system = const Value.absent(),
  7. Value<bool> required = const Value.absent(),
  8. Value<bool> unique = const Value.absent(),
  9. Value<String> collectionId = const Value.absent(),
  10. Value<String> extra = const Value.absent()}
)

Implementation

const FieldCompanion({
  this.id = const Value.absent(),
  this.created = const Value.absent(),
  this.updated = const Value.absent(),
  this.type = const Value.absent(),
  this.name = const Value.absent(),
  this.system = const Value.absent(),
  this.required = const Value.absent(),
  this.unique = const Value.absent(),
  this.collectionId = const Value.absent(),
  this.extra = const Value.absent(),
});