addIfHeader method

void addIfHeader(
  1. HttpHeaders headers
)

Implementation

void addIfHeader(HttpHeaders headers) =>
    condition != null ? headers.add("If", condition.toString()) : null;