copyWith method

SentryMessage copyWith({
  1. String? formatted,
  2. String? template,
  3. List? params,
})

Implementation

SentryMessage copyWith({
  String? formatted,
  String? template,
  List<dynamic>? params,
}) =>
    SentryMessage(
      formatted ?? this.formatted,
      template: template ?? this.template,
      params: params ?? this.params,
      unknown: unknown,
    );