sendDataToCustomEndPoint method
Implementation
Future<Uint8List> sendDataToCustomEndPoint(
String path, Uint8List data) async {
if (_session == null || !_session!.isSessionEstablished) {
try {
await _initSession();
} catch (e) {
//print(e);
rethrow;
}
return await _sendData(path, data);
} else {
return await _sendData(path, data);
}
}