SocketUserReader constructor
SocketUserReader({
- Kernel? kernel,
- ReadSocketOption readOption = _getRawOption,
- int? overflowUid() = _linuxOverflowUid,
A reader for kernel, the running one by default. readOption and
overflowUid are the socket and /proc reads, passed in so a test can
fake them.
Implementation
SocketUserReader({
Kernel? kernel,
this._readOption = _getRawOption,
this._overflowUid = _linuxOverflowUid,
}) : _kernel = kernel ?? Kernel.current;