RestrictionInfo class

Represents an detailed information of a RestrictedUser or Member's restriction.

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

RestrictionInfo.new({String? description, int? endAt, RestrictionType restrictionType = RestrictionType.muted})
RestrictionInfo.fromJson(Map<String, dynamic> json)
factory

Properties

description String?
Description of the restriction.
getter/setter pair
endAt int?
End time of the restriction.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
restrictionType RestrictionType
RestrictionType of the current user.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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