Suggestions

close search

StringeeUser

public class StringeeUser



Represents a conversation participant.



Summary


Constructors
Constructor StringeeUser({required String userId, String? name, String? avatarUrl})

Creates a StringeeUser instance.

Properties
String? userId

User id.

String? name

Display name.

String? avatarUrl

Avatar URL.

UserRole role

Conversation role.

Public methods
Map<String, dynamic> toJson()

Converts this user to JSON parameters.

Constructors


StringeeUser({required String userId, String? name, String? avatarUrl})
Creates a StringeeUser instance.

Properties


userId
User id.
name
Display name.
avatarUrl
Avatar URL.
role
Conversation role.

Public methods


toJson()
Converts this user to JSON parameters.