copyWith method
FwStandardBusinessLogicFwBusinessLogicFieldDefinition
copyWith(
{ - String? name,
- FwStandardSqlServerFwDataTypes? dataType,
- FwStandardSqlServerAttributesFwExcelOptions? excelOptions,
- int? maxLength,
- bool? isRequired,
- bool? isPrimaryKey,
- bool? isReadOnly,
- String? displayFieldName,
- String? allowedValues,
- int? templateSequence,
- bool? isEmail,
})
Implementation
FwStandardBusinessLogicFwBusinessLogicFieldDefinition copyWith({
String? name,
enums.FwStandardSqlServerFwDataTypes? dataType,
enums.FwStandardSqlServerAttributesFwExcelOptions? excelOptions,
int? maxLength,
bool? isRequired,
bool? isPrimaryKey,
bool? isReadOnly,
String? displayFieldName,
String? allowedValues,
int? templateSequence,
bool? isEmail,
}) {
return FwStandardBusinessLogicFwBusinessLogicFieldDefinition(
name: name ?? this.name,
dataType: dataType ?? this.dataType,
excelOptions: excelOptions ?? this.excelOptions,
maxLength: maxLength ?? this.maxLength,
isRequired: isRequired ?? this.isRequired,
isPrimaryKey: isPrimaryKey ?? this.isPrimaryKey,
isReadOnly: isReadOnly ?? this.isReadOnly,
displayFieldName: displayFieldName ?? this.displayFieldName,
allowedValues: allowedValues ?? this.allowedValues,
templateSequence: templateSequence ?? this.templateSequence,
isEmail: isEmail ?? this.isEmail,
);
}