predict method Null safety

Y predict(
  1. X x
)

Calculates prediction.

Throws UnsupportedError if only predictAsync is supported.

Implementation

Y predict(X x);