SentryUserFeedback constructor

SentryUserFeedback({
  1. required SentryId eventId,
  2. String? name,
  3. String? email,
  4. String? comments,
  5. Map<String, dynamic>? unknown,
})

Implementation

SentryUserFeedback({
  required this.eventId,
  this.name,
  this.email,
  this.comments,
  this.unknown,
}) : assert(eventId != SentryId.empty() &&
          (name?.isNotEmpty == true ||
              email?.isNotEmpty == true ||
              comments?.isNotEmpty == true));