getCurrentProgramDateTime method
Implementation
@override
Future<DateTime?> getCurrentProgramDateTime() {
int? currentProgramDateTime = _theoPlayerJS.currentProgramDateTime?.getTime();
if (currentProgramDateTime == null) {
return Future.value(null);
}
return Future.value(DateTime.fromMillisecondsSinceEpoch(currentProgramDateTime));
}