getTime method

Future<int> getTime()

Get the video timestamp in millisecond

Implementation

Future<int> getTime() async {
  final position = await getPosition();

  return position.inMilliseconds;
}