copyWith method

WebApiModulesSettingsAvailabilityServiceLogAvailabilityServiceLog copyWith({
  1. int? id,
  2. String? serviceName,
  3. String? serverName,
  4. DateTime? logDateTime,
  5. String? logMessage,
  6. String? dateStamp,
  7. String? auditNote,
  8. String? recordTitle,
  9. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  10. List<FwStandardDataFwCustomValue>? custom,
  11. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  12. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesSettingsAvailabilityServiceLogAvailabilityServiceLog copyWith(
    {int? id,
    String? serviceName,
    String? serverName,
    DateTime? logDateTime,
    String? logMessage,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesSettingsAvailabilityServiceLogAvailabilityServiceLog(
      id: id ?? this.id,
      serviceName: serviceName ?? this.serviceName,
      serverName: serverName ?? this.serverName,
      logDateTime: logDateTime ?? this.logDateTime,
      logMessage: logMessage ?? this.logMessage,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}