SentryUserFeedback.fromJson constructor

SentryUserFeedback.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory SentryUserFeedback.fromJson(Map<String, dynamic> data) {
  final json = AccessAwareMap(data);
  return SentryUserFeedback(
    eventId: SentryId.fromId(json['event_id']),
    name: json['name'],
    email: json['email'],
    comments: json['comments'],
    unknown: json.notAccessed(),
  );
}