unwrapFutureOr method
DartType
unwrapFutureOr()
Implementation
DartType unwrapFutureOr() => switch (this) {
InterfaceType(typeArguments: [final type])
when isDartAsyncFuture || isDartAsyncFutureOr =>
type,
_ => this,
};