PushAPI class

Constructors

PushAPI({Signer? signer, required String account, String? decryptedPgpPvtKey, String? pgpPublicKey, void progressHook(ProgressHookType)?, bool readMode = false, ENV env = ENV.prod, bool showHttpLog = false})

Properties

account → String
no setter
chat ↔ Chat
getter/setter pair
decryptedPgpPvtKey → String?
no setter
hashCode → int
The hash code for this object.
no setterinherited
pgpPublicKey → String?
final
progressHook ↔ void Function(ProgressHookType)?
getter/setter pair
readMode → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream ↔ PushStream
getter/setter pair

Methods

info({String? overrideAccount}) → Future<User?>
initStream({required List<STREAM> listen, PushStreamInitializeOptions? options}) → Future<PushStream>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

ensureSignerMessage() → String
initialize({Signer? signer, PushAPIInitializeOptions? options}) → Future<PushAPI>