io
io copied to clipboard
`getOpenPort` util
Just copy it from here - https://github.com/dart-lang/coverage/blob/f768931a665d4ec768a67c64766de711e4ca6ddd/lib/src/util.dart#L58
Would get to have a canonical implementation
See also https://github.com/dart-lang/test/blob/28dfb448649c20c032f027c92942ada36f6e4283/lib/src/util/io.dart#L173