day property Null safety
The day of the month [1..31]
.
Returns null if this is null
final moonLanding = DateTime.parse('1969-07-20 20:18:04Z');
print(moonLanding.day); // 20
Implementation
int? get day => _value?.day;
The day of the month [1..31]
.
Returns null if this is null
final moonLanding = DateTime.parse('1969-07-20 20:18:04Z');
print(moonLanding.day); // 20
int? get day => _value?.day;