ChatEventUsernameChanged class

Inheritance

Constructors

ChatEventUsernameChanged({required String oldUsername, required String newUsername})
The chat editable username was changed
const
ChatEventUsernameChanged.fromJson(Map<String, dynamic> json)
Parse from a json
factory

Properties

clientId int?
client identifier
no setterinherited
extra → dynamic
callback sign
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
newUsername String
newUsername New chat username
final
oldUsername String
oldUsername Previous chat username
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? oldUsername, String? newUsername}) ChatEventUsernameChanged
override
getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) 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