NmTrafficStream class
A traffic stream: source → visitor type → entry point → lead.
- Annotations
Constructors
-
NmTrafficStream({required String id, required String name, required String source, String? visitorType, String? entryPoint, int? visits, double? conversionPct, int? leads, NmStreamStatus status = NmStreamStatus.hypothesis, String? origin, List<
NmStreamAsset> assets = const [], String? nextStep}) -
Creates an NmTrafficStream.
const
Properties
-
assets
→ List<
NmStreamAsset> -
Pages, articles, links … that feed the stream.
final
- conversionPct → double?
-
Visit-to-lead conversion in percent.
final
- effectiveLeads → int?
-
leads, or visits × conversion when leads are unknown.
no setter
- entryPoint → String?
-
Landing page or entry point.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable id.
final
- leads → int?
-
Leads per month; derived from visits × conversion when absent.
final
- name → String
-
Stream name.
final
- nextStep → String?
-
The agent's recommended next step.
final
- origin → String?
-
Where the idea came from ("competitor gap", "playbook X" …).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Source id from NmTrafficSources (or an app-defined id).
final
- status → NmStreamStatus
-
Lifecycle status.
final
- visitorType → String?
-
Who arrives ("Buyers comparing prices" …).
final
- visits → int?
-
Visits per month.
final
Methods
-
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