FdcFieldDef constructor
const
FdcFieldDef({
- required String name,
- required FdcDataType dataType,
- String? label,
- bool required = false,
- bool isKey = false,
- Object? defaultValue,
- FdcCalculatedFieldValue? calculatedValue,
- bool? persistent,
- FdcFieldValidator? validator,
- 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(),
});