copyWith method
Implementation
DashboardGadgetSettings copyWith(
{String? color,
bool? ignoreUriAndModuleKeyValidation,
String? moduleKey,
DashboardGadgetPosition? position,
String? title,
String? uri}) {
return DashboardGadgetSettings(
color: color ?? this.color,
ignoreUriAndModuleKeyValidation: ignoreUriAndModuleKeyValidation ??
this.ignoreUriAndModuleKeyValidation,
moduleKey: moduleKey ?? this.moduleKey,
position: position ?? this.position,
title: title ?? this.title,
uri: uri ?? this.uri,
);
}