Breadcrumb.userInteraction constructor
Breadcrumb.userInteraction({})
Implementation
factory Breadcrumb.userInteraction({
String? message,
SentryLevel? level,
DateTime? timestamp,
Map<String, dynamic>? data,
required String subCategory,
String? viewId,
String? viewClass,
}) {
return Breadcrumb(
message: message,
level: level,
category: 'ui.$subCategory',
type: 'user',
timestamp: timestamp,
data: {
if (viewId != null) 'view.id': viewId,
if (viewClass != null) 'view.class': viewClass,
if (data != null) ...data,
},
);
}