policyDetails static method
The audit details of a policy switch of one agent, as the server writes them
(policyAttrs of services/server/internal/agents/app/policy.go, 10 14).
Implementation
static JsonMap policyDetails(
String fromMode,
String? fromHolder,
String toMode,
String? toHolder,
String reason,
) => {
'from_billing_mode': fromMode,
'to_billing_mode': toMode,
'reason': reason,
'from_credential_holder_id': ?fromHolder,
'to_credential_holder_id': ?toHolder,
};