copyWith method
FwStandardModulesSettingsWidgetSettingsWidgetWidget
copyWith({
- bool? displayNumbers,
- String? filters,
- String? filterValues,
- String? mappedFilterValues,
- String? dateBehaviorId,
- String? dateField,
- DateTime? fromDate,
- DateTime? toDate,
- int? timezoneOffset,
- String? type,
- FwStandardModulesSettingsWidgetSettingsWidgetWidgetData? data,
- FwStandardModulesSettingsWidgetSettingsWidgetWidgetOptions? options,
- int? dataPoints,
- String? apiName,
- String? procedureName,
- String? counterFieldName,
- String? label1FieldName,
- String? label2FieldName,
- String? backgroundColorFieldName,
- String? borderColorFieldName,
- double? opacity,
- bool? stacked,
Implementation
FwStandardModulesSettingsWidgetSettingsWidgetWidget copyWith({
bool? displayNumbers,
String? filters,
String? filterValues,
String? mappedFilterValues,
String? dateBehaviorId,
String? dateField,
DateTime? fromDate,
DateTime? toDate,
int? timezoneOffset,
String? type,
FwStandardModulesSettingsWidgetSettingsWidgetWidgetData? data,
FwStandardModulesSettingsWidgetSettingsWidgetWidgetOptions? options,
int? dataPoints,
String? apiName,
String? procedureName,
String? counterFieldName,
String? label1FieldName,
String? label2FieldName,
String? backgroundColorFieldName,
String? borderColorFieldName,
double? opacity,
bool? stacked,
}) {
return FwStandardModulesSettingsWidgetSettingsWidgetWidget(
displayNumbers: displayNumbers ?? this.displayNumbers,
filters: filters ?? this.filters,
filterValues: filterValues ?? this.filterValues,
mappedFilterValues: mappedFilterValues ?? this.mappedFilterValues,
dateBehaviorId: dateBehaviorId ?? this.dateBehaviorId,
dateField: dateField ?? this.dateField,
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
timezoneOffset: timezoneOffset ?? this.timezoneOffset,
type: type ?? this.type,
data: data ?? this.data,
options: options ?? this.options,
dataPoints: dataPoints ?? this.dataPoints,
apiName: apiName ?? this.apiName,
procedureName: procedureName ?? this.procedureName,
counterFieldName: counterFieldName ?? this.counterFieldName,
label1FieldName: label1FieldName ?? this.label1FieldName,
label2FieldName: label2FieldName ?? this.label2FieldName,
backgroundColorFieldName:
backgroundColorFieldName ?? this.backgroundColorFieldName,
borderColorFieldName: borderColorFieldName ?? this.borderColorFieldName,
opacity: opacity ?? this.opacity,
stacked: stacked ?? this.stacked,
);
}