nullaryStub<T> function

Stub<Nullary<T>> nullaryStub<T>()

returns a NULLARY stub

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

Implementation

Stub<Nullary<T>> nullaryStub<T>() => _NullaryStub<T, Nullary<T>>();