readDateTime method

DateTime readDateTime()

Reads a DateTime.

Implementation

DateTime readDateTime() {
  var t = readInt64();
  return DateTime.fromMillisecondsSinceEpoch(t, isUtc: true);
}