PromiseLike<T> constructor
PromiseLike<T> ({})
Implementation
factory PromiseLike(
{_i2.Future<_i2.Object> Function<TResult1, TResult2>([
_i4.FutureOr<TResult1> Function(_i2.dynamic)?,
_i4.FutureOr<TResult2> Function([_i2.dynamic])?,
])? then}) =>
PromiseLike._(then: then == null ? null : _i6.allowInterop(then));