PostingFrequency class
Weekly cadence set against what each cadence earned per post.
Constructors
-
PostingFrequency({int days = 0, List<
FrequencyWeek> weeks = const [], List<FrequencyBand> bands = const [], FrequencyBand? best}) -
Creates a cadence report.
const
-
PostingFrequency.fromJson(Map<
String, dynamic> json) -
Reads a cadence report.
factory
Properties
-
bands
→ List<
FrequencyBand> -
The cadence bands those weeks fell into.
final
- best → FrequencyBand?
-
The cadence that earned the most per post; null without posts.
final
- days → int
-
The window, in days.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
weeks
→ List<
FrequencyWeek> -
Every week that held a post, oldest first.
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