ServiceMethod<Q, R> constructor

ServiceMethod<Q, R>(
  1. String name,
  2. Function handler,
  3. bool streamingRequest,
  4. bool streamingResponse,
  5. Q requestDeserializer(
    1. List<int> request
    ),
  6. List<int> responseSerializer(
    1. R response
    ),
)

Implementation

ServiceMethod(
  this.name,
  this.handler,
  this.streamingRequest,
  this.streamingResponse,
  this.requestDeserializer,
  this.responseSerializer,
);