month property Null safety
The month [1..12]
.
var moonLanding = DateTime.parse("1969-07-20 20:18:04Z");
assert(moonLanding.month == 7);
assert(moonLanding.month == DateTime.july);
Implementation
external int get month;
The month [1..12]
.
var moonLanding = DateTime.parse("1969-07-20 20:18:04Z");
assert(moonLanding.month == 7);
assert(moonLanding.month == DateTime.july);
external int get month;