toEnvelope method

Map<String, Object?> toEnvelope({
  1. Object? principalKey,
})

Implementation

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