copyWith method

SentryOperatingSystem copyWith({
  1. String? name,
  2. String? version,
  3. String? build,
  4. String? kernelVersion,
  5. bool? rooted,
  6. String? rawDescription,
  7. String? theme,
})

Implementation

SentryOperatingSystem copyWith({
  String? name,
  String? version,
  String? build,
  String? kernelVersion,
  bool? rooted,
  String? rawDescription,
  String? theme,
}) =>
    SentryOperatingSystem(
      name: name ?? this.name,
      version: version ?? this.version,
      build: build ?? this.build,
      kernelVersion: kernelVersion ?? this.kernelVersion,
      rooted: rooted ?? this.rooted,
      rawDescription: rawDescription ?? this.rawDescription,
      theme: theme ?? this.theme,
      unknown: unknown,
    );