minute property Null safety

int? minute

The minute [0...59].

Returns null if this is null

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

Implementation

int? get minute => _value?.minute;