getCommandsByAlgorithmID method

Future<String> getCommandsByAlgorithmID(
  1. int id
)

Implementation

Future<String> getCommandsByAlgorithmID(int id) async {
  final Response res = await super.dio.get(
    "/algorithms",
    data: {
      "id": id,
    },
  );

  return res.data ?? "";
}