second property Null safety

int second

The second [0...59].

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

Implementation

int get second => _value.second;