InterfaceRequest<T> class

void bind(InterfaceRequest<T> request) { _binding.bind(request); }

@override void bar() { print(‘Received bar message.’); } }

Constructors

InterfaceRequest (Channel _channel)

Creates an interface request that wraps the given channel.

Properties

channelChannel

The underlying channel messages will be received over when the interface handle is bound to Binding.
read-only

hashCode → int

The hash code for this object.
read-onlyinherited

runtimeType → Type

A representation of the runtime type of the object.
read-onlyinherited

Methods

close() void

Closes the underlying channel.

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

passChannel() Channel

Returns channel and sets channel to null.

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited