PushStream constructor
PushStream({})
Implementation
PushStream({
required PushStreamInitializeOptions options,
required String account,
required List<STREAM> listen,
Signer? signer,
String? decryptedPgpPvtKey,
void Function(ProgressHookType)? progressHook,
}) {
_account = account;
_options = options;
_raw = options.raw;
_listen = listen;
_signer = signer;
chatInstance = Chat(
signer: signer,
account: _account,
decryptedPgpPvtKey: decryptedPgpPvtKey,
progressHook: progressHook,
);
}