privatePositions method

Future<String> privatePositions(
  1. String imagePath
)

Implementation

Future<String> privatePositions(String imagePath) async {
  Future<String> firstPrivate = PropImage().imageToBinary(imagePath);
  String firstPrivateStr = await firstPrivate;
  List<int> privateIntegerArray = Dependencies().binaryToDecimal(firstPrivateStr);
//  List<String> position = List.empty();
  String positions = "";
  for (int j = 0; j < privateIntegerArray.length; j += 49152){
    positions += firstPrivateStr.substring(j,j+1);
  }
  return positions;
  }