unFuturedArgType property

DartType unFuturedArgType

argType without Future if it is a Future.

Implementation

DartType get unFuturedArgType {
  if (isArgTypeAFuture) {
    return typeOfFuture(argType)!;
  }

  return argType;
}