unFuturedType property

DartType unFuturedType

targetType without Future if it is a Future

Implementation

DartType get unFuturedType {
  if (isFuture) {
    return typeOfFuture(targetType)!;
  }

  return targetType;
}