decode static method

LogLevel? decode(
  1. Unpacker u
)

Implementation

static LogLevel? decode(Unpacker u) {
  final n = u.unpackInt();
  return n != null ? fromInt(n) : null;
}