RestrictionInfo class
Represents an detailed information of a RestrictedUser or Member's restriction.
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
- RestrictionInfo({String? description, int? endAt, RestrictionType restrictionType = RestrictionType.muted})
-
RestrictionInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description → String?
-
Description of the restriction.
final
- endAt → int?
-
End time of the restriction.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- restrictionType → RestrictionType
-
RestrictionType of the current user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited