GithubCopilotSessionLogModel constructor

const GithubCopilotSessionLogModel({
  1. required String id,
  2. required String sessionId,
  3. required String message,
  4. Map<String, dynamic>? metadata,
  5. String? toolName,
  6. String? toolResult,
  7. @Default.new(GithubCopilotSessionLogLevel.unknown) GithubCopilotSessionLogLevel level,
  8. @Default.new(ModelTimestamp()) ModelTimestamp timestamp,
  9. @Default.new(false) bool fromServer,
})

Model for managing Copilot session logs.

Copilotのセッションログを管理するモデル。

Implementation

const factory GithubCopilotSessionLogModel({
  required String id,
  required String sessionId,
  required String message,
  Map<String, dynamic>? metadata,
  String? toolName,
  String? toolResult,
  @Default(GithubCopilotSessionLogLevel.unknown)
  GithubCopilotSessionLogLevel level,
  @Default(ModelTimestamp()) ModelTimestamp timestamp,
  @Default(false) bool fromServer,
}) = _GithubCopilotSessionLogModel;