getCurrentProgramDateTime method

Future<DateTime?> getCurrentProgramDateTime()
inherited

Implementation

Future<DateTime?> getCurrentProgramDateTime() async {
  var currentProgramDateTime = await _nativeAPI.getCurrentProgramDateTime();
  if (currentProgramDateTime == null) {
    return null;
  }
  return DateTime.fromMillisecondsSinceEpoch(currentProgramDateTime);
}