copyWith method

Trace copyWith({
  1. ExceptionInfo? exception,
  2. List<Frame>? frames,
  3. String? rawTrace,
})

Implementation

Trace copyWith({
  ExceptionInfo? exception,
  List<Frame>? frames,
  String? rawTrace,
}) =>
    Trace(
        exception: exception ?? this.exception,
        frames: frames ?? this.frames,
        rawTrace: rawTrace ?? this.rawTrace);