copyWith method

SentryPackage copyWith({
  1. String? name,
  2. String? version,
})

Implementation

SentryPackage copyWith({
  String? name,
  String? version,
}) =>
    SentryPackage(
      name ?? this.name,
      version ?? this.version,
      unknown: unknown,
    );