copyWith method

WebApiDataAppReportResponse copyWith({
  1. FwStandardSqlServerFwJsonDataTable? dataTable,
  2. FwStandardDataFwReportLoader? dataObject,
  3. String? printDate,
  4. String? printTime,
  5. String? printDateTime,
  6. String? customReportTemplate,
  7. List<FwStandardModulesAdministratorCustomReportCssCustomReportCssLoader>? globalCssRules,
  8. String? globalStyle,
  9. String? emailTemplate,
})

Implementation

WebApiDataAppReportResponse copyWith({
  FwStandardSqlServerFwJsonDataTable? dataTable,
  FwStandardDataFwReportLoader? dataObject,
  String? printDate,
  String? printTime,
  String? printDateTime,
  String? customReportTemplate,
  List<FwStandardModulesAdministratorCustomReportCssCustomReportCssLoader>?
  globalCssRules,
  String? globalStyle,
  String? emailTemplate,
}) {
  return WebApiDataAppReportResponse(
    dataTable: dataTable ?? this.dataTable,
    dataObject: dataObject ?? this.dataObject,
    printDate: printDate ?? this.printDate,
    printTime: printTime ?? this.printTime,
    printDateTime: printDateTime ?? this.printDateTime,
    customReportTemplate: customReportTemplate ?? this.customReportTemplate,
    globalCssRules: globalCssRules ?? this.globalCssRules,
    globalStyle: globalStyle ?? this.globalStyle,
    emailTemplate: emailTemplate ?? this.emailTemplate,
  );
}