toEnvelope method
Implementation
Map<String, Object?> toEnvelope({Object? principalKey}) {
return <String, Object?>{
'entityType': 'AgentSessionDocument',
'patchKind': 'AgentSessionDocument',
'principalKey': principalKey,
'ops': toWire(),
};
}