EventMetadata constructor

const EventMetadata({
  1. required String model,
  2. required String sessionId,
  3. required String userType,
  4. String? betas,
  5. required EnvContext envContext,
  6. String? entrypoint,
  7. String isInteractive = 'true',
  8. String clientType = 'cli',
  9. ProcessMetrics? processMetrics,
  10. String? subscriptionType,
  11. String? repoHash,
  12. String? agentId,
  13. String? parentSessionId,
  14. String? agentType,
  15. String? teamName,
})

Implementation

const EventMetadata({
  required this.model,
  required this.sessionId,
  required this.userType,
  this.betas,
  required this.envContext,
  this.entrypoint,
  this.isInteractive = 'true',
  this.clientType = 'cli',
  this.processMetrics,
  this.subscriptionType,
  this.repoHash,
  this.agentId,
  this.parentSessionId,
  this.agentType,
  this.teamName,
});