setHeaders method

dynamic setHeaders(
  1. Map headersList
)

Implementation

dynamic setHeaders(Map headersList){
  if(headersList.length!=0){
    headersList.forEach((key, value) {
      res?.headers.set(key, ' $value');
    });
  }
}