StreamingResource class
The two Server-Sent Events endpoints.
Both live outside /v1 and are API-key authenticated like everything else,
so a plan refusal surfaces as MisarMailPlanLimitError here too.
Constructors
- StreamingResource(MisarMailClient client)
-
const
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
-
campaignSend(
String campaignId) → Stream< MisarMailStreamEvent> -
GET /api/campaigns/{id}/send-stream— live send progress. -
generateEmail(
Map< String, dynamic> options) → Stream<MisarMailStreamEvent> -
POST /api/ai/generate-email/stream— token-by-token generation. -
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