day property Null safety

int day

The day of the month [1..31].

final moonLanding = DateTime.parse('1969-07-20 20:18:04Z');
print(moonLanding.day); // 20

Implementation

int get day => _value.day;