unFuturedType property
DartType
get
unFuturedType
targetType without Future
if it is a Future
Implementation
DartType get unFuturedType {
if (isFuture) {
return typeOfFuture(targetType)!;
}
return targetType;
}