labelForMatchTarget function
Implementation
String labelForMatchTarget(InfospectBreakpointMatchTarget target) {
return switch (target) {
InfospectBreakpointMatchTarget.queryParam => 'Query param',
InfospectBreakpointMatchTarget.requestHeader => 'Request header',
InfospectBreakpointMatchTarget.requestBodyText => 'Request body (text)',
InfospectBreakpointMatchTarget.requestBodyJson => 'Request body (JSON)',
InfospectBreakpointMatchTarget.responseStatus => 'Response status',
InfospectBreakpointMatchTarget.responseBodyText => 'Response body (text)',
InfospectBreakpointMatchTarget.responseBodyJson => 'Response body (JSON)',
};
}