copyWith method

  1. @Deprecated('Assign values directly to the instance.')
SentryMessage copyWith({
  1. String? formatted,
  2. String? template,
  3. List? params,
})

Implementation

@Deprecated('Assign values directly to the instance.')
SentryMessage copyWith({
  String? formatted,
  String? template,
  List<dynamic>? params,
}) =>
    SentryMessage(
      formatted ?? this.formatted,
      template: template ?? this.template,
      params: params ?? this.params,
      unknown: unknown,
    );