StreamingLayout.singleParticipant constructor

const StreamingLayout.singleParticipant(
  1. {@JsonKey(name: 'sessionId') required ParticipantId participant}
)

Limits layout to a single specific participant.

Implementation

const factory StreamingLayout.singleParticipant({@JsonKey(name: 'sessionId') required ParticipantId participant}) =
    _SingleParticipantLayout;