usernameOf static method

String? usernameOf(
  1. BuildContext context
)

See CallClient.username.

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

Implementation

static String? usernameOf(BuildContext context) => of(context, CallClientStateAspect.username).username;