LogSubEntry constructor

LogSubEntry({
  1. Int64? id,
  2. Int64? time,
  3. LogSubEntryType? type,
  4. String? title,
  5. String? message,
  6. String? error,
  7. String? stackTrace,
})

Implementation

factory LogSubEntry({
  $fixnum.Int64? id,
  $fixnum.Int64? time,
  LogSubEntryType? type,
  $core.String? title,
  $core.String? message,
  $core.String? error,
  $core.String? stackTrace,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (time != null) {
    _result.time = time;
  }
  if (type != null) {
    _result.type = type;
  }
  if (title != null) {
    _result.title = title;
  }
  if (message != null) {
    _result.message = message;
  }
  if (error != null) {
    _result.error = error;
  }
  if (stackTrace != null) {
    _result.stackTrace = stackTrace;
  }
  return _result;
}