second property

int get second

Gets the second component (0-59).

Example:

final zdt = ZonedDateTime.parse('2023-12-25T15:30:45+01:00');
print(zdt.second); // 45

Implementation

int get second => _localDateTime.second;