copyWith method
LogStringModel
copyWith({
- String? text,
- String? icon,
- LogBorderType? borderType,
- LogColor? color,
override
Implementation
@override
LogStringModel copyWith({
String? text,
String? icon,
LogBorderType? borderType,
LogColor? color,
}) {
return LogStringModel(
text ?? this.text,
borderType: borderType ?? this.borderType,
color: color ?? this.color,
);
}