copyWith method

SdkVersion copyWith({
  1. String? name,
  2. String? version,
  3. List<String>? integrations,
  4. List<SentryPackage>? packages,
})

Implementation

SdkVersion copyWith({
  String? name,
  String? version,
  List<String>? integrations,
  List<SentryPackage>? packages,
}) =>
    SdkVersion(
      name: name ?? this.name,
      version: version ?? this.version,
      integrations: integrations ?? _integrations,
      packages: packages ?? _packages,
      unknown: unknown,
    );