AegisPush class

Constructors

AegisPush({Client? httpClient})

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

configure({required String apiHost, required String writeKey, String? organizationId, String? propertyId, String? contactId, String? anonymousId}) → void
Persist the engagement-POST configuration. Called by AegisFlutter.initialize() once the SDK has resolved the write key, organization id, etc.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerDeviceToken(String token) → Future<void>
Re-register the device token. Mirrors Android AegisPushTracker.reRegisterToken + iOS AegisPushTracker.shared.registerDeviceToken.
setContactId(String? contactId) → void
Update the resolved contact id (after a successful identify()).
start() → Future<void>
Start the native push module + subscribe to lifecycle events. Idempotent — calling twice is a no-op.
stop() → Future<void>
Tear down listeners. Safe to call multiple times.
toString() → String
A string representation of this object.
inherited
trackClicked({String? campaignId, String? messageId, Map<String, dynamic>? metadata}) → Future<void>
trackDelivered({String? campaignId, String? messageId, Map<String, dynamic>? metadata}) → Future<void>
trackDismissed({String? campaignId, String? messageId, Map<String, dynamic>? metadata}) → Future<void>

Operators

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