toDateTime method

DateTime toDateTime()

Create a Dart DateTime object from a JS Date object

Implementation

DateTime toDateTime() => DateTime.fromMillisecondsSinceEpoch(getTime());