LinuxNotificationTimeout class
The timeout of the Linux notification.
- Annotations
Constructors
- LinuxNotificationTimeout(int value)
-
Constructs an instance of LinuxNotificationTimeout
with a given
value
in milliseconds.const - LinuxNotificationTimeout.expiresNever()
-
Constructs an instance of LinuxNotificationTimeout
with a value equal to
0
. The notification will be never expires.const - LinuxNotificationTimeout.fromDuration(Duration duration)
- Constructs an instance of LinuxNotificationTimeout with a given Duration value.
- LinuxNotificationTimeout.systemDefault()
-
Constructs an instance of LinuxNotificationTimeout
with a value equal to
-1
. The system default timeout value will be used.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override