dispatchesAgent method

bool dispatchesAgent()

Returns true when the token's room configuration dispatches at least one agent.

Implementation

bool dispatchesAgent() {
  final agents = jwtPayload?.roomConfiguration?.agents;
  return agents != null && agents.isNotEmpty;
}