downloadRune method

Future<Uint8List> downloadRune(
  1. int deploymentId
)

Implementation

Future<Uint8List> downloadRune(int deploymentId) async {
  print("downloadRune");
  final client = http.Client();
  final response = await client.get(url("/forge/deployment"),
      headers: {"x-api-key": "$apiKey", "deploymentId": "$deploymentId"});
  client.close();
  return response.bodyBytes;
}