copyWith method

  1. @override
LogExceptionModel copyWith({
  1. LogBorderType? borderType,
  2. LogColor? color,
  3. Object? error,
  4. StackTrace? stackTrace,
})
override

Implementation

@override
LogExceptionModel copyWith({
  LogBorderType? borderType,
  LogColor? color,
  Object? error,
  StackTrace? stackTrace,
}) {
  return LogExceptionModel(
    borderType: borderType ?? this.borderType,
    color: color ?? this.color,
    error: error ?? this.error,
    stackTrace: stackTrace ?? this.stackTrace,
  );
}