generateShares static method

Future<bool> generateShares(
  1. String filePath
)

Implementation

static Future<bool> generateShares(String filePath) async {
  Future<String> content = PropImage().imageToBinary(filePath);
  String contentBin = await content;

  // ignore: unused_local_variable
  RubixInteract interact = RubixInteract(contentBin);
  return RubixInteract.createShare();
}