MethodResponse constructor

const MethodResponse({
  1. required Input<String> name,
  2. required Input<List<OptionResponse>> options,
  3. required Input<bool> requestStreaming,
  4. required Input<String> requestTypeUrl,
  5. required Input<bool> responseStreaming,
  6. required Input<String> responseTypeUrl,
  7. required Input<String> syntax,
})

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,
});