toDateTime method

DateTime toDateTime()

Implementation

DateTime toDateTime() {
  return DateTime.fromMicrosecondsSinceEpoch(
    seconds * 1000000 + nanos ~/ 1000,
  );
}