close method
Closes the gRPC channel and cancels pending RPC calls.
This method should be called when discarding the client. For example, when shutting down the application.
Implementation
Future<void> close() async {
await _channel.shutdown();
}