LogItem constructor

LogItem({
  1. String? location,
  2. String? icon,
  3. Object? message,
  4. Set<Symbol> tags = const {},
  5. bool showId = false,
  6. bool showTags = true,
  7. bool showTimestamp = false,
})

Implementation

LogItem({
  this.location,
  this.icon,
  this.message,
  this.tags = const {},
  this.showId = false,
  this.showTags = true,
  this.showTimestamp = false,
}) : id = const Uuid().v4(),
     timestamp = DateTime.now();