RequestData<T> constructor

RequestData<T>({
  1. required T fromJson(
    1. String
    ),
  2. String contentType = "application/json",
  3. String? route,
  4. String apiUriProtocol = "https://",
  5. Map<String, dynamic>? body,
  6. PostPrefs? postPrefs,
  7. Map<String, String>? headers,
  8. Map<String, String>? queryParams,
  9. RequestType? type,
})

Implementation

RequestData(
    {required this.fromJson,
    this.contentType = "application/json",
    this.route,
    this.apiUriProtocol = "https://",
    this.body,
    this.postPrefs,
    this.headers,
    this.queryParams,
    this.type});