toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final annotations = this.annotations;
  final forwardingRule = this.forwardingRule;
  final forwardingRuleIp = this.forwardingRuleIp;
  final healthState = this.healthState;
  final instance = this.instance;
  final ipAddress = this.ipAddress;
  final ipv6Address = this.ipv6Address;
  final ipv6HealthState = this.ipv6HealthState;
  final port = this.port;
  final weight = this.weight;
  final weightError = this.weightError;
  return {
    'annotations': ?annotations,
    'forwardingRule': ?forwardingRule,
    'forwardingRuleIp': ?forwardingRuleIp,
    'healthState': ?healthState,
    'instance': ?instance,
    'ipAddress': ?ipAddress,
    'ipv6Address': ?ipv6Address,
    'ipv6HealthState': ?ipv6HealthState,
    'port': ?port,
    'weight': ?weight,
    'weightError': ?weightError,
  };
}