RequestModel constructor

RequestModel({
  1. String? url,
  2. Object? id,
  3. String? version,
  4. Object? data,
  5. bool isBase = false,
  6. bool isAbsolute = false,
  7. String contentType = HttpContentType.applicationJson,
  8. String? responseType,
  9. Map<String, Object> params = const <String, Object>{},
  10. Map<String, String> headers = const <String, String>{},
})

Implementation

RequestModel(
    {this.url,
    this.id,
    this.version,
    this.data,
    this.isBase = false,
    this.isAbsolute = false,
    this.contentType = HttpContentType.applicationJson,
    this.responseType,
    this.params = const <String, Object>{},
    this.headers = const <String, String>{}});