LogDto.fromJson constructor
Implementation
factory LogDto.fromJson(Map<String, Object?> json) => LogDto(
id: json['id'] as String,
level: logLevelDtoFromName(json['level'] as String),
tsMicros: json['tsMicros'] as int,
message: json['message'] as String? ?? '',
orchestrationId: json['orchestrationId'] as String?,
systemId: json['systemId'] as String?,
entityRefs: (json['entityRefs'] as List?)?.cast<String>() ?? const [],
stack: json['stack'] as String?,
);