toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => {
  'model': model,
  'sessionId': sessionId,
  'userType': userType,
  'betas': betas,
  'envContext': envContext.toMap(),
  'entrypoint': entrypoint,
  'isInteractive': isInteractive,
  'clientType': clientType,
  'processMetrics': processMetrics?.toMap(),
  'subscriptionType': subscriptionType,
  'rh': repoHash,
  'agentId': agentId,
  'parentSessionId': parentSessionId,
  'agentType': agentType,
  'teamName': teamName,
};