createRequest method

GeneratedMessage createRequest(
  1. String methodName
)
override

Creates a message object that can deserialize a request.

Implementation

$pb.GeneratedMessage createRequest($core.String methodName) {
  switch (methodName) {
    case 'SetPublisher': return $1.SetPublisherRequest();
    case 'SendAnswer': return $1.SendAnswerRequest();
    case 'IceTrickle': return $0.ICETrickle();
    case 'UpdateSubscriptions': return $1.UpdateSubscriptionsRequest();
    case 'UpdateMuteStates': return $1.UpdateMuteStatesRequest();
    case 'IceRestart': return $1.ICERestartRequest();
    case 'SendStats': return $1.SendStatsRequest();
    case 'StartNoiseCancellation': return $1.StartNoiseCancellationRequest();
    case 'StopNoiseCancellation': return $1.StopNoiseCancellationRequest();
    default: throw $core.ArgumentError('Unknown method: $methodName');
  }
}