NetworkConfig constructor

NetworkConfig({
  1. required String url,
  2. RequestMethod method = RequestMethod.get,
  3. Map<String, String>? headers = const {},
  4. Map<String, dynamic>? body,
  5. Map<String, dynamic>? queryParameters = const {},
})

Implementation

NetworkConfig({
  required this.url,
  this.method = RequestMethod.get,
  this.headers = const {},
  this.body,
  this.queryParameters = const {},
});