toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  if (annotations.isNotDefault) 'annotations': annotations,
  'forwardingRule': ?forwardingRule,
  'forwardingRuleIp': ?forwardingRuleIp,
  'healthState': ?healthState,
  'instance': ?instance,
  'ipAddress': ?ipAddress,
  'ipv6Address': ?ipv6Address,
  'ipv6HealthState': ?ipv6HealthState,
  'port': ?port,
  'weight': ?weight,
  'weightError': ?weightError,
};