copyWith method
Creates a copy of this configuration with the specified overrides.
Implementation
DialogConfigs copyWith({
DialogWidgets? widgets,
DialogStyle? style,
}) {
return DialogConfigs(
widgets: widgets ?? this.widgets,
style: style ?? this.style,
);
}