ThreadArchiveTime class Null safety

Simplifies the process of setting an auto archive time.

Inheritance

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
Returns value of enum
read-only, inherited

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 ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

day → const ThreadArchiveTime
Archive after an day
ThreadArchiveTime._new(1440)
hour → const ThreadArchiveTime
Archive after an hour
ThreadArchiveTime._new(60)
threeDays → const ThreadArchiveTime
Archive after 3 days
ThreadArchiveTime._new(4320)
week → const ThreadArchiveTime
Archive after an week
ThreadArchiveTime._new(10080)