generateHttpString static method

String generateHttpString({
  1. required String method,
  2. required String uriPathname,
  3. required String httpParameters,
  4. required String httpHeaders,
})

Implementation

static String generateHttpString({
  required String method,
  required String uriPathname,
  required String httpParameters,
  required String httpHeaders,
}) {
  return '${method.toLowerCase()}\n$uriPathname\n$httpParameters\n$httpHeaders\n';
}