ErrorEventLogDto.fromEventLog constructor
ErrorEventLogDto.fromEventLog(
- ErrorEventLog log
Implementation
factory ErrorEventLogDto.fromEventLog(ErrorEventLog log) => ErrorEventLogDto(
id: log.eventLogIdentifier.id,
timestamp: log.eventLogIdentifier.timestamp.toIso8601String(),
streamId: log.streamIdentifier.id,
error: log.error.toString(),
);