second property

int get second

The second component of the time (0–59).

Example:

final dt = LocalDateTime.of(2025, 6, 27, 14, 30);
final second = dt.second;

Implementation

int get second => time.second;