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

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The integer representation in milliseconds.
final

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