toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fullPathMatch != null) 'fullPathMatch': fullPathMatch!,
      if (headers != null) 'headers': headers!,
      if (ignoreCase != null) 'ignoreCase': ignoreCase!,
      if (prefixMatch != null) 'prefixMatch': prefixMatch!,
      if (queryParameters != null) 'queryParameters': queryParameters!,
      if (regexMatch != null) 'regexMatch': regexMatch!,
    };