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,
})

Implementation

SentryApp copyWith({
  String? name,
  String? version,
  String? identifier,
  String? build,
  String? buildType,
  DateTime? startTime,
  String? deviceAppHash,
  int? appMemory,
}) =>
    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,
    );