unFuturedArgType property

DartType get unFuturedArgType

argType without Future if it is a Future.

Implementation

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

  return argType;
}