Method constructor

Method({
  1. String name = '',
  2. String requestTypeUrl = '',
  3. bool requestStreaming = false,
  4. String responseTypeUrl = '',
  5. bool responseStreaming = false,
  6. List<Option> options = const [],
  7. Syntax syntax = Syntax.$default,
})

Implementation

Method({
  this.name = '',
  this.requestTypeUrl = '',
  this.requestStreaming = false,
  this.responseTypeUrl = '',
  this.responseStreaming = false,
  this.options = const [],
  this.syntax = Syntax.$default,
}) : super(fullyQualifiedName);