DynamicClient class

Runtime-built client: methods resolve from the FileModel.

Constructors

DynamicClient(Channel _channel, FileModel _model)

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bidi(String service, String method, List<GenericMessage> reqs, {Map<String, String>? metadata, Duration? timeout}) → Future<DynamicStream>
clientStream(String service, String method, List<GenericMessage> reqs, {Map<String, String>? metadata, Duration? timeout}) → Future<GenericMessage>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serverStream(String service, String method, GenericMessage req, {Map<String, String>? metadata, Duration? timeout}) → Future<DynamicStream>
toString() → String
A string representation of this object.
inherited
unary(String service, String method, GenericMessage req, {Map<String, String>? metadata, Duration? timeout}) → Future<GenericMessage>

Operators

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