upload method

Future<Map> upload(
  1. Uint8List bytes,
  2. String contentType
)

Implementation

Future<Map> upload(Uint8List bytes, String contentType) async {
  Tuple2 res = await plugin.uploadBlob(bytes, contentType);
  return res.item2["blob"];
}