copyWith method

SentryProxy copyWith({
  1. String? host,
  2. int? port,
  3. SentryProxyType? type,
  4. String? user,
  5. String? pass,
})

Implementation

SentryProxy copyWith({
  String? host,
  int? port,
  SentryProxyType? type,
  String? user,
  String? pass,
}) =>
    SentryProxy(
      host: host ?? this.host,
      port: port ?? this.port,
      type: type ?? this.type,
      user: user ?? this.user,
      pass: pass ?? this.pass,
    );