This is a very specific issue faced while implementing the Interceptor interface in package: ok_http. The actual cause of this deadlock is yet to be found, (by a replica of Interceptor, as planned.)
Creating this issue to reference in PR and files: dart-lang/http#1257, to track the status.
cc: @HosseinYousefi