ChatLeaveChannel class abstract
Indicates that a user wants to leave a channel.
Constructors
- ChatLeaveChannel({required String channel})
-
factory
-
ChatLeaveChannel.fromJson(Map<
String, dynamic> jsonSerialization) -
factory
Properties
Methods
-
copyWith(
{String? channel}) → ChatLeaveChannel - Returns a shallow copy of this ChatLeaveChannel with some or all fields replaced by the given arguments.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a serialized JSON structure of the model which also includes fields used by the database.
-
toJsonForProtocol(
) → Map< String, dynamic> - Returns a JSON structure of the model, optimized for Protocol communication.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited