initStream method

Future<PushStream> initStream({
  1. required List<STREAM> listen,
  2. PushStreamInitializeOptions? options,
})

Implementation

Future<PushStream> initStream(
    {required List<STREAM> listen,
    PushStreamInitializeOptions? options}) async {
  stream = await PushStream.initialize(
    account: _account,
    listen: listen,
    decryptedPgpPvtKey: _decryptedPgpPvtKey,
    options: options,
    progressHook: progressHook,
    signer: _signer,
  );

  return stream;
}