unaryStub<T, S> function

Stub<Unary<T, S>> unaryStub<T, S>()

retun a UNARY Stub

to be replaced with non-function type alias see https://github.com/dart-lang/sdk/issues/44951

Implementation

Stub<Unary<T,S>> unaryStub<T, S>() => _UnaryStub<T, S, Unary<T,S>>();