NmTrafficStream constructor

const NmTrafficStream({
  1. required String id,
  2. required String name,
  3. required String source,
  4. String? visitorType,
  5. String? entryPoint,
  6. int? visits,
  7. double? conversionPct,
  8. int? leads,
  9. NmStreamStatus status = NmStreamStatus.hypothesis,
  10. String? origin,
  11. List<NmStreamAsset> assets = const [],
  12. String? nextStep,
})

Creates an NmTrafficStream.

Implementation

const NmTrafficStream({
  required this.id,
  required this.name,
  required this.source,
  this.visitorType,
  this.entryPoint,
  this.visits,
  this.conversionPct,
  this.leads,
  this.status = NmStreamStatus.hypothesis,
  this.origin,
  this.assets = const [],
  this.nextStep,
});