getCurrentProgramDateTime method

Future<DateTime?> getCurrentProgramDateTime()
override

Implementation

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