toDateTime method
Create a Dart DateTime object from a JS Date object
Implementation
DateTime toDateTime() => DateTime.fromMillisecondsSinceEpoch(getTime());
Create a Dart DateTime object from a JS Date object
DateTime toDateTime() => DateTime.fromMillisecondsSinceEpoch(getTime());