FdcFieldDef constructor

const FdcFieldDef({
  1. required String name,
  2. required FdcDataType dataType,
  3. String? label,
  4. bool required = false,
  5. bool isKey = false,
  6. Object? defaultValue,
  7. FdcCalculatedFieldValue? calculatedValue,
  8. bool? persistent,
  9. FdcFieldValidator? validator,
  10. FdcFieldStorage storage = const FdcFieldStorage(),
})

Creates a FdcFieldDef.

Implementation

const FdcFieldDef({
  required this.name,
  required this.dataType,
  this.label,
  this.required = false,
  this.isKey = false,
  this.defaultValue,
  this.calculatedValue,
  this.persistent,
  this.validator,
  this.storage = const FdcFieldStorage(),
});