ReplayEventPresentation.generic constructor
ReplayEventPresentation.generic(
- ReplayCustomEvent event
Generic presentation for non-render-capture replay events.
Implementation
factory ReplayEventPresentation.generic(ReplayCustomEvent event) {
return ReplayEventPresentation(
summary: 'replay event -> ${event.type}',
statusHint: '/replay ${event.type}',
fields: <String, Object?>{'type': event.type, 'fields': event.fields},
detailLines: <String>['event: ${event.type}'],
);
}