Activity constructor

const Activity(
  1. ActivityType type,
  2. ActivityConfidence confidence
)

Constructs an instance of Activity.

Implementation

const Activity(this.type, this.confidence);