getDuration method

Future<int> getDuration()

Gets the duration of content.

Implementation

Future<int> getDuration() {
  return ByteArkPlayerControllerPlatform.instance.getDuration();
}