isReqCtx function

bool isReqCtx(
  1. DartType type
)

Implementation

bool isReqCtx(DartType type) {
  return type.element != null &&
      const TypeChecker.fromRuntime(Ctx).isAssignableFrom(type.element!);
}