GithubCopilotSessionLogModel constructor
const
GithubCopilotSessionLogModel({
- required String id,
- required String sessionId,
- required String message,
- Map<
String, dynamic> ? metadata, - String? toolName,
- String? toolResult,
- @Default.new(GithubCopilotSessionLogLevel.unknown) GithubCopilotSessionLogLevel level,
- @Default.new(ModelTimestamp()) ModelTimestamp timestamp,
- @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;