StreamingLayout.singleParticipant constructor Null safety

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;