ChatActionBarReportAddBlock class

Inheritance

Constructors

ChatActionBarReportAddBlock({bool canUnarchive, int distance})
The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method blockUser, or the other user can be added to the contact list using the method addContact
ChatActionBarReportAddBlock.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

canUnarchive bool
canUnarchive If true, the chat was automatically archived and can be moved back to the main chat list using addChatToList simultaneously with setting chat notification settings to default using setChatNotificationSettings
read / write
distance int
distance If non-negative, the current user was found by the peer through searchChatsNearby and this is the distance between the users
read / write
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

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'chatActionBarReportAddBlock'