toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (exactMatch != null) 'exactMatch': exactMatch!,
      if (header != null) 'header': header!,
      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!,
    };