GetRequest<T> constructor

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

Implementation

GetRequest({
  required super.url,
  required super.fromJson,
  super.shouldPrintErrors,
  super.shouldPrintStackTrace,
  this.responsePrint = false, // Default to false
});