calc method

dynamic calc(
  1. dynamic t
)

Implementation

calc(t) {
  var t2 = t * t;
  var t3 = t2 * t;
  return c0 + c1 * t + c2 * t2 + c3 * t3;
}