toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (allowedClientHeaders != null)
    'allowedClientHeaders': allowedClientHeaders!,
  if (clientIp != null) 'clientIp': clientIp!,
  if (contextualHeaders != null) 'contextualHeaders': contextualHeaders!,
  if (gatewayIdentity != null) 'gatewayIdentity': gatewayIdentity!,
  if (metadataHeaders != null) 'metadataHeaders': metadataHeaders!,
};