getCurrentTime method

Future<num> getCurrentTime(
  1. String id
)

Returns the current time of the an animation. id Id of animation. Returns: Current time of the page.

Implementation

Future<num> getCurrentTime(String id) async {
  var result = await _client.send('Animation.getCurrentTime', {
    'id': id,
  });
  return result['currentTime'] as num;
}