copyWith method

SentryStackFrame copyWith({
  1. String? absPath,
  2. String? fileName,
  3. String? function,
  4. String? module,
  5. int? lineNo,
  6. int? colNo,
  7. String? contextLine,
  8. bool? inApp,
  9. String? package,
  10. bool? native,
  11. String? platform,
  12. String? imageAddr,
  13. String? symbolAddr,
  14. String? instructionAddr,
  15. String? rawFunction,
  16. List<int>? framesOmitted,
  17. List<String>? preContext,
  18. List<String>? postContext,
  19. Map<String, String>? vars,
  20. bool? stackStart,
  21. String? symbol,
})

Implementation

SentryStackFrame copyWith({
  String? absPath,
  String? fileName,
  String? function,
  String? module,
  int? lineNo,
  int? colNo,
  String? contextLine,
  bool? inApp,
  String? package,
  bool? native,
  String? platform,
  String? imageAddr,
  String? symbolAddr,
  String? instructionAddr,
  String? rawFunction,
  List<int>? framesOmitted,
  List<String>? preContext,
  List<String>? postContext,
  Map<String, String>? vars,
  bool? stackStart,
  String? symbol,
}) =>
    SentryStackFrame(
      absPath: absPath ?? this.absPath,
      fileName: fileName ?? this.fileName,
      function: function ?? this.function,
      module: module ?? this.module,
      lineNo: lineNo ?? this.lineNo,
      colNo: colNo ?? this.colNo,
      contextLine: contextLine ?? this.contextLine,
      inApp: inApp ?? this.inApp,
      package: package ?? this.package,
      native: native ?? this.native,
      platform: platform ?? this.platform,
      imageAddr: imageAddr ?? this.imageAddr,
      symbolAddr: symbolAddr ?? this.symbolAddr,
      instructionAddr: instructionAddr ?? this.instructionAddr,
      rawFunction: rawFunction ?? this.rawFunction,
      framesOmitted: framesOmitted ?? _framesOmitted,
      preContext: preContext ?? _preContext,
      postContext: postContext ?? _postContext,
      vars: vars ?? _vars,
      symbol: symbol ?? symbol,
      stackStart: stackStart ?? stackStart,
      unknown: unknown,
    );