NmCompetitorSnapshot class

Everything known about one competitor.

Annotations

Constructors

NmCompetitorSnapshot({required NmCompetitor competitor, required Map<String, double> theirMix, required Map<String, double> ourMix, int? theirVisits, int? ourVisits, List<NmVisitorArchetype> archetypes = const [], List<NmCompetitorMove> moves = const [], List<NmTrafficGap> gaps = const []})
Creates an NmCompetitorSnapshot.
const

Properties

archetypes → List<NmVisitorArchetype>
Visitor archetypes of the competitor.
final
competitor → NmCompetitor
The competitor.
final
gaps → List<NmTrafficGap>
Gaps the project could close.
final
hashCode → int
The hash code for this object.
no setterinherited
moves → List<NmCompetitorMove>
Recent competitor moves.
final
ourMix → Map<String, double>
The project's source mix, same keys as theirMix.
final
ourVisits → int?
Project visits per month, if known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
theirMix → Map<String, double>
Source id → share in percent (sums to ~100).
final
theirVisits → int?
Competitor visits per month, if estimated.
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