LinuxNotificationTimeout.fromDuration constructor

LinuxNotificationTimeout.fromDuration(
  1. Duration duration
)

Constructs an instance of LinuxNotificationTimeout with a given Duration value.

Implementation

LinuxNotificationTimeout.fromDuration(Duration duration)
    : value = duration.inMilliseconds;