LinuxNotificationTimeout class Null safety

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. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
The integer representation in milliseconds.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override