DateTime.now constructor - DateTime - dart:core library (original) (raw)
DateTime.now()
Constructs a DateTime instance with current date and time in the local time zone.
final now = DateTime.now();
Implementation
DateTime.now() : this._now();
DateTime.now()
Constructs a DateTime instance with current date and time in the local time zone.
final now = DateTime.now();
DateTime.now() : this._now();