copyWith method

  1. @override
LogObjectModel copyWith({
  1. String? title,
  2. Object? map,
  3. LogBorderType? borderType,
  4. 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,
  );
}