AttributionSnapshotMessage constructor

const AttributionSnapshotMessage({
  1. String type = 'attribution-snapshot',
  2. required String messageId,
  3. required String surface,
  4. required Map<String, FileAttributionState> fileStates,
  5. int promptCount = 0,
  6. int promptCountAtLastCommit = 0,
  7. int permissionPromptCount = 0,
  8. int permissionPromptCountAtLastCommit = 0,
  9. int escapeCount = 0,
  10. int escapeCountAtLastCommit = 0,
})

Implementation

const AttributionSnapshotMessage({
  this.type = 'attribution-snapshot',
  required this.messageId,
  required this.surface,
  required this.fileStates,
  this.promptCount = 0,
  this.promptCountAtLastCommit = 0,
  this.permissionPromptCount = 0,
  this.permissionPromptCountAtLastCommit = 0,
  this.escapeCount = 0,
  this.escapeCountAtLastCommit = 0,
});