Request constructor Null safety

const Request(
  1. {required Uri uri,
  2. required Method method,
  3. required HttpHeaders headers,
  4. required String body,
  5. required Map<String, dynamic> container}
)

Constructor

Implementation

const Request({
  required this.uri,
  required this.method,
  required this.headers,
  required this.body,
  required this.container,
});