Map<String, Object?> encode() => { if (serviceAgentAuth != null) 'service_agent_auth': serviceAgentAuth!.toTfJson(), };