copyWith method

SentryUserFeedback copyWith({
  1. SentryId? eventId,
  2. String? name,
  3. String? email,
  4. String? comments,
})

Implementation

SentryUserFeedback copyWith({
  SentryId? eventId,
  String? name,
  String? email,
  String? comments,
}) {
  return SentryUserFeedback(
    eventId: eventId ?? this.eventId,
    name: name ?? this.name,
    email: email ?? this.email,
    comments: comments ?? this.comments,
  );
}