VSingleBlockModel class

Model class for single block in a chat room for blocking a user.

Constructors

VSingleBlockModel({required bool isMeBanner, required bool isPeerBanner, required String roomId})
Creates a new VSingleBlockModel instance.
const
VSingleBlockModel.fromMap(Map<String, dynamic> map)
Creates a VSingleBlockModel instance from a map object.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isMeBanner bool
True if the banner belongs to the current user, false otherwise.
final
isPeerBanner bool
True if the banner belongs to the peer user, false otherwise.
final
isThereBan bool
Returns true if there is a banner.
no setter
roomId String
The ID of the chat room where the block occurs.
final
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
toMap() Map<String, dynamic>
Returns a map representation of the VSingleBlockModel instance.
toString() String
Returns a string representation of the VSingleBlockModel instance.
override

Operators

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