Method class

Method represents a method of an API interface.

Constructors

Method({Input<String>? name, Input<List<Option>>? options, Input<bool>? requestStreaming, Input<String>? requestTypeUrl, Input<bool>? responseStreaming, Input<String>? responseTypeUrl, Input<MethodSyntax>? syntax})
Creates a new Method. 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
Method.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<Option>>?
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<MethodSyntax>?
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