toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (exactMatch != null) 'exactMatch': exactMatch!,
  if (headerName != null) 'headerName': headerName!,
  if (invertMatch != null) 'invertMatch': invertMatch!,
  if (prefixMatch != null) 'prefixMatch': prefixMatch!,
  if (presentMatch != null) 'presentMatch': presentMatch!,
  if (rangeMatch != null) 'rangeMatch': rangeMatch!,
  if (regexMatch != null) 'regexMatch': regexMatch!,
  if (suffixMatch != null) 'suffixMatch': suffixMatch!,
};