MethodResponse constructor
const
MethodResponse({})
Creates a new MethodResponse.
name The simple name of this method.
options Any metadata attached to the method.
requestStreaming If true, the request is streamed.
requestTypeUrl A URL of the input message type.
responseStreaming If true, the response is streamed.
responseTypeUrl The URL of the output message type.
syntax The source syntax of this method.
Implementation
const MethodResponse({
required this.name,
required this.options,
required this.requestStreaming,
required this.requestTypeUrl,
required this.responseStreaming,
required this.responseTypeUrl,
required this.syntax,
});