encode method

Object encode()

Implementation

Object encode() {
  return <Object?>[
    timestamp,
    level.index,
    category.index,
    tag,
    message,
    threadName,
    extras,
    throwable,
  ];
}