getMethodHelp method

Future<String?> getMethodHelp(
  1. String methodName
)

Implementation

Future<String?> getMethodHelp(String methodName) async {
  if (!havenoChannel.isConnected) {
    throw DaemonNotConnectedException();
  }
  try {
    final getHelpReply = await havenoChannel.helpClient!
        .getMethodHelp(GetMethodHelpRequest(methodName: methodName));

    return getHelpReply.methodHelp;
  } on GrpcError catch (e) {
    handleGrpcError(e);
  }
  return null;
}