getCurrentIndex method

Future<Map<String, dynamic>> getCurrentIndex()

获取当前播放索引(当前集数在列表中的位置) 返回 Map 包含 'currentIndex' 字段

Implementation

Future<Map<String, dynamic>> getCurrentIndex() async {
  _ensureReady();
  final result = await PangrowthContent.getCurrentEpisode(_playerId!);
  return result;
}