ServiceClient constructor

ServiceClient(
  1. ClientChannel channel, [
  2. Iterable<ClientInterceptor> interceptors = const []
])

Implementation

ServiceClient(
  ClientChannel channel, [
  Iterable<ClientInterceptor> interceptors = const [],
])  : query = M10QueryServiceClient(
        channel,
        interceptors: [DebugInterceptor(), ...interceptors],
      ),
      tx = M10TxServiceClient(
        channel,
        interceptors: [DebugInterceptor(), ...interceptors],
      );