copyWith method

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

Implementation

SentryOperatingSystem copyWith({
  String? name,
  String? version,
  String? build,
  String? kernelVersion,
  bool? rooted,
  String? rawDescription,
}) =>
    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,
    );