BaseRequest<T> constructor

BaseRequest<T>({
  1. required String url,
  2. required T fromJson(
    1. Map<String, dynamic>
    ),
  3. bool shouldPrintErrors = false,
  4. bool shouldPrintStackTrace = false,
})

Implementation

BaseRequest({
  required this.url,
  required this.fromJson,
  this.shouldPrintErrors = false,
  this.shouldPrintStackTrace = false,
});