MethodResponse class

Method represents a method of an API interface.

Constructors

MethodResponse({required Input<String> name, required Input<List<OptionResponse>> options, required Input<bool> requestStreaming, required Input<String> requestTypeUrl, required Input<bool> responseStreaming, required Input<String> responseTypeUrl, 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.
const
MethodResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
The simple name of this method.
final
options → Input<List<OptionResponse>>
Any metadata attached to the method.
final
requestStreaming → Input<bool>
If true, the request is streamed.
final
requestTypeUrl → Input<String>
A URL of the input message type.
final
responseStreaming → Input<bool>
If true, the response is streamed.
final
responseTypeUrl → Input<String>
The URL of the output message type.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
syntax → Input<String>
The source syntax of this method.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited