LogEntryModel constructor

LogEntryModel({
  1. String? timestamp,
  2. int? level,
  3. String? message,
})

Implementation

factory LogEntryModel({
  $core.String? timestamp,
  $core.int? level,
  $core.String? message,
}) {
  final _result = create();
  if (timestamp != null) {
    _result.timestamp = timestamp;
  }
  if (level != null) {
    _result.level = level;
  }
  if (message != null) {
    _result.message = message;
  }
  return _result;
}