UserPresence constructor
const
UserPresence({})
Implementation
const factory UserPresence({
/// The user this presence belongs to.
required String userId,
/// A unique session ID identifying the particular connection, because the
/// user may have many.
required String sessionId,
/// The username for display purposes.
required String username,
/// Whether this presence generates persistent data/messages, if applicable
/// for the stream type.
required bool persistence,
/// A user-set status message for this stream, if applicable.
String? status,
}) = _UserPresence;