toArgMap method
Implementation
Map<String, Object?> toArgMap() => {
'header_name': headerName.toTfJson(),
if (exactMatch != null) 'exact_match': exactMatch!.toTfJson(),
if (prefixMatch != null) 'prefix_match': prefixMatch!.toTfJson(),
if (suffixMatch != null) 'suffix_match': suffixMatch!.toTfJson(),
if (regexMatch != null) 'regex_match': regexMatch!.toTfJson(),
if (presentMatch != null) 'present_match': presentMatch!.toTfJson(),
if (invertMatch != null) 'invert_match': invertMatch!.toTfJson(),
if (rangeMatch != null) 'range_match': [rangeMatch!.toArgMap()],
};