getTime method

Future<int> getTime()

Get the video timestamp in millisecond

Implementation

Future<int> getTime() async {
  var position = await getPosition();
  return position.inMilliseconds;
}