copyWith method

SentryApp copyWith({
  1. String? name,
  2. String? version,
  3. String? identifier,
  4. String? build,
  5. String? buildType,
  6. DateTime? startTime,
  7. String? deviceAppHash,
  8. int? appMemory,
  9. bool? inForeground,
  10. List<String>? viewNames,
  11. double? textScale,
})

Implementation

SentryApp copyWith({
  String? name,
  String? version,
  String? identifier,
  String? build,
  String? buildType,
  DateTime? startTime,
  String? deviceAppHash,
  int? appMemory,
  bool? inForeground,
  List<String>? viewNames,
  double? textScale,
}) =>
    SentryApp(
      name: name ?? this.name,
      version: version ?? this.version,
      identifier: identifier ?? this.identifier,
      build: build ?? this.build,
      buildType: buildType ?? this.buildType,
      startTime: startTime ?? this.startTime,
      deviceAppHash: deviceAppHash ?? this.deviceAppHash,
      appMemory: appMemory ?? this.appMemory,
      inForeground: inForeground ?? this.inForeground,
      viewNames: viewNames ?? this.viewNames,
      textScale: textScale ?? this.textScale,
      unknown: unknown,
    );