activeSpeakerOf static method

Participant? activeSpeakerOf(
  1. BuildContext context
)

See CallClient.activeSpeaker.

Throws StateError if a CallClientState cannot be found in the BuildContext.

Implementation

static Participant? activeSpeakerOf(BuildContext context) =>
    of(context, CallClientStateAspect.activeSpeaker).activeSpeaker;