Broadcast class

One message, sent into conversations the workspace already has.

Constructors

Broadcast({required String id, required String name, required String text, required String status, String? accountId, AudienceFilter? audience, DateTime? scheduledAt, DateTime? sentAt, DateTime? createdAt, BroadcastCounts? counts, String? workspaceId})
Creates a broadcast.
const
Broadcast.fromJson(Map<String, dynamic> json)
Reads a broadcast.
factory

Properties

accountId → String?
The connected account the messages go out from.
final
audience → AudienceFilter?
Who it goes to.
final
counts → BroadcastCounts?
What became of its recipients.
final
createdAt → DateTime?
When it was written.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The broadcast's id.
final
name → String
What you call it. Internal only; never sent to anyone.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduledAt → DateTime?
When it goes out on its own, when it is scheduled.
final
sentAt → DateTime?
When it finished sending.
final
status → String
draft, scheduled, sending, sent or cancelled.
final
text → String
The message itself.
final
workspaceId → String?
Set only on a list that spans more than one workspace.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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