transformInternal method

  1. @override
double transformInternal(
  1. double t
)
override

"The transformInternal function returns the sine of the count times 2 times pi times t."

The first thing to notice is that the function returns a double. This is because the transformInternal function is a function that returns a double

Args: t (double): The current time, in seconds.

Returns: The sine of the count times 2 times pi times t.

Implementation

@override
double transformInternal(double t) => sin(count * 2 * pi * t);