copyWith method
LogObjectModel
copyWith({
- String? title,
- Object? map,
- LogBorderType? borderType,
- LogColor? color,
override
Implementation
@override
LogObjectModel copyWith({
String? title,
Object? map,
LogBorderType? borderType,
LogColor? color,
}) {
return LogObjectModel(
map ?? object,
title: title ?? this.title,
borderType: borderType ?? this.borderType,
color: color ?? this.color,
);
}