toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final hosts = this.hosts;
  final httpHeaderMatch = this.httpHeaderMatch;
  final methods = this.methods;
  final ports = this.ports;
  return {
    'hosts': ?hosts,
    'httpHeaderMatch': ?httpHeaderMatch,
    'methods': ?methods,
    'ports': ?ports,
  };
}