toDate method
Converts to a DateTime in UTC.
Returns: The corresponding DateTime.
Example:
var dt = ts.toDate();
Implementation
DateTime toDate() =>
DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch, isUtc: true);
Converts to a DateTime in UTC.
Returns: The corresponding DateTime.
Example:
var dt = ts.toDate();
DateTime toDate() =>
DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch, isUtc: true);