UserBlockResponse class

Contains information about a User that was banned from a Channel or App.

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

UserBlockResponse()

Properties

blockedByUserId String
User that banned the user.
getter/setter pair
blockedUserId String
Reason for the ban.
getter/setter pair
createdAt DateTime
Timestamp when the user was banned.
getter/setter pair
duration String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

fromJson(Map<String, dynamic> json) UserBlockResponse
Create a new instance from a json