Activity constructor

const Activity({
  1. required String? actor,
  2. required String? verb,
  3. required String? object,
  4. String? id,
  5. String? foreignId,
  6. String? target,
  7. DateTime? time,
  8. List<FeedId>? to,
  9. Map<String, Object>? analytics,
  10. Map<String, Object>? extraContext,
  11. String? origin,
  12. double? score,
  13. Map<String, Object>? extraData,
})

Builds an Activity.

Implementation

const Activity({
  required this.actor,
  required this.verb,
  required this.object,
  this.id,
  this.foreignId,
  this.target,
  this.time,
  this.to,
  this.analytics,
  this.extraContext,
  this.origin,
  this.score,
  this.extraData,
});