MuteDuration class
- Annotations
Constructors
- MuteDuration({PreciseDateTime? until, bool? forever})
- MuteDuration.forever()
-
factory
-
MuteDuration.fromJson(Map<
String, dynamic> json) -
Constructs a MuteDuration from the provided
json
.factory - MuteDuration.until(PreciseDateTime until)
-
factory
Properties
- forever ↔ bool?
-
Forever mute duration.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- until ↔ PreciseDateTime?
-
Mute duration until an exact PreciseDateTime.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a Map representing this MuteDuration.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override