copyWithWrapped method
FwStandardBusinessLogicFwBusinessLogicFieldDefinition
copyWithWrapped({
- Wrapped<
String?> ? name, - Wrapped<
FwStandardSqlServerFwDataTypes?> ? dataType, - Wrapped<
FwStandardSqlServerAttributesFwExcelOptions?> ? excelOptions, - Wrapped<
int?> ? maxLength, - Wrapped<
bool?> ? isRequired, - Wrapped<
bool?> ? isPrimaryKey, - Wrapped<
bool?> ? isReadOnly, - Wrapped<
String?> ? displayFieldName, - Wrapped<
String?> ? allowedValues, - Wrapped<
int?> ? templateSequence, - Wrapped<
bool?> ? isEmail,
Implementation
FwStandardBusinessLogicFwBusinessLogicFieldDefinition copyWithWrapped({
Wrapped<String?>? name,
Wrapped<enums.FwStandardSqlServerFwDataTypes?>? dataType,
Wrapped<enums.FwStandardSqlServerAttributesFwExcelOptions?>? excelOptions,
Wrapped<int?>? maxLength,
Wrapped<bool?>? isRequired,
Wrapped<bool?>? isPrimaryKey,
Wrapped<bool?>? isReadOnly,
Wrapped<String?>? displayFieldName,
Wrapped<String?>? allowedValues,
Wrapped<int?>? templateSequence,
Wrapped<bool?>? isEmail,
}) {
return FwStandardBusinessLogicFwBusinessLogicFieldDefinition(
name: (name != null ? name.value : this.name),
dataType: (dataType != null ? dataType.value : this.dataType),
excelOptions: (excelOptions != null
? excelOptions.value
: this.excelOptions),
maxLength: (maxLength != null ? maxLength.value : this.maxLength),
isRequired: (isRequired != null ? isRequired.value : this.isRequired),
isPrimaryKey: (isPrimaryKey != null
? isPrimaryKey.value
: this.isPrimaryKey),
isReadOnly: (isReadOnly != null ? isReadOnly.value : this.isReadOnly),
displayFieldName: (displayFieldName != null
? displayFieldName.value
: this.displayFieldName),
allowedValues: (allowedValues != null
? allowedValues.value
: this.allowedValues),
templateSequence: (templateSequence != null
? templateSequence.value
: this.templateSequence),
isEmail: (isEmail != null ? isEmail.value : this.isEmail),
);
}