NtpClient constructor
const
NtpClient({})
Creates a new NtpClient instance with optional configuration parameters.
serverspecifies the NTP server hostname or IP address (default:'pool.ntp.org')portis the UDP port number for NTP communication (default:123)timeoutis the maximum duration in seconds to wait for a server response (default:5)
Implementation
const NtpClient({
super.server,
super.port,
super.timeout,
super.apiUrl,
super.parseResponse,
super.isUtc,
});