Method class

Method represents a method of an API interface.

Constructors

Method()
Method.fromJson(Map _json)

Properties

name ↔ String
The simple name of this method.
read / write
options ↔ List<Option>
Any metadata attached to the method.
read / write
requestStreaming ↔ bool
If true, the request is streamed.
read / write
requestTypeUrl ↔ String
A URL of the input message type.
read / write
responseStreaming ↔ bool
If true, the response is streamed.
read / write
responseTypeUrl ↔ String
The URL of the output message type.
read / write
syntax ↔ String
The source syntax of this method. Possible string values are: [...]
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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