DateTime.now constructor Null safety
Constructs a DateTime instance with current date and time in the local time zone.
var thisInstant = DateTime.now();
Implementation
DateTime.now() : this._now();
Constructs a DateTime instance with current date and time in the local time zone.
var thisInstant = DateTime.now();
DateTime.now() : this._now();