ServiceApiMethod constructor
const
ServiceApiMethod({})
Creates a new ServiceApiMethod.
name The simple name of the endpoint as described in the config.
requestType The type URL for the request to this API.
responseType The type URL for the response from this API.
syntax SYNTAX_PROTO2 or SYNTAX_PROTO3.
Implementation
const ServiceApiMethod({
this.name,
this.requestType,
this.responseType,
this.syntax,
});