copyWith method

FwStandardBusinessLogicFwBusinessLogicFieldDefinition copyWith({
  1. String? name,
  2. FwStandardSqlServerFwDataTypes? dataType,
  3. FwStandardSqlServerAttributesFwExcelOptions? excelOptions,
  4. int? maxLength,
  5. bool? isRequired,
  6. bool? isPrimaryKey,
  7. bool? isReadOnly,
  8. String? displayFieldName,
  9. String? allowedValues,
  10. int? templateSequence,
  11. 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,
  );
}