hasRequestBody function

bool hasRequestBody(
  1. String method
)

Implementation

bool hasRequestBody(String method) => !(method == "GET" ||
    method == "DELETE" ||
    method == "HEAD" ||
    method == "OPTIONS");