toDate method

DateTime toDate()

Converts Timestamp to DateTime

Implementation

DateTime toDate() {
  return DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch);
}