TalkerData constructor

TalkerData(
  1. String? message, {
  2. LogLevel? logLevel,
  3. Object? exception,
  4. Error? error,
  5. StackTrace? stackTrace,
  6. String? title = 'log',
  7. DateTime? time,
  8. AnsiPen? pen,
  9. String? key,
})

Implementation

TalkerData(
  this.message, {
  this.logLevel,
  this.exception,
  this.error,
  this.stackTrace,
  this.title = 'log',
  DateTime? time,
  this.pen,
  this.key,
}) {
  _time = time ?? DateTime.now();
}