toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (excludedHosts != null) 'excludedHosts': excludedHosts!,
      if (host != null) 'host': host!,
      if (pacUri != null) 'pacUri': pacUri!,
      if (port != null) 'port': port!,
    };