InfospectNetworkRequest class
Represents an Network request data for the Infospect application.
- Available extensions
 
Constructors
- 
          InfospectNetworkRequest({int size = 0, DateTime? requestTime, Map<
String, dynamic> headers = const <String, dynamic>{}, dynamic body = "", String? contentType = "", List<Cookie> cookies = const [], Map<String, dynamic> queryParameters = const <String, dynamic>{}, List<InfospectFormDataFile> ? formDataFiles, List<InfospectFormDataField> ? formDataFields}) - 
          Creates an instance of the 
InfospectNetworkRequestclass. - InfospectNetworkRequest.fromMap(Map map)
 - 
          Creates an instance of the 
InfospectNetworkRequestclass from a Map representation.factory 
Properties
- body → dynamic
 - 
  The body of the Network request.
  final
 - 
  bodyMap
  → Map<
String, dynamic>  - 
      
Available on InfospectNetworkRequest, provided by the NetworkRequestExtension extension
no setter - contentType → String?
 - 
  The content type (MIME type) of the request.
  final
 - 
  The cookies sent with the request.
  final
 - 
  formDataFields
  → List<
InfospectFormDataField> ? - 
  List of form data fields if any.
  final
 - 
  formDataFiles
  → List<
InfospectFormDataFile> ? - 
  List of file attachments (form data) if any.
  final
 - hashCode → int
 - 
  The hash code for this object.
  no setterinherited
 - 
  headers
  → Map<
String, dynamic>  - 
  The headers of the Network request.
  final
 - 
  queryParameters
  → Map<
String, dynamic>  - 
  The query parameters of the request.
  final
 - runtimeType → Type
 - 
  A representation of the runtime type of the object.
  no setterinherited
 - size → int
 - 
  The size of the request data in bytes.
  final
 - time → DateTime
 - 
  The timestamp when the request was made.
  final
 
Methods
- 
  copyWith(
{int? size, DateTime? time, Map< String, dynamic> ? headers, dynamic body, String? contentType, List<Cookie> ? cookies, Map<String, dynamic> ? queryParameters, List<InfospectFormDataFile> ? formDataFiles, List<InfospectFormDataField> ? formDataFields}) → InfospectNetworkRequest - 
  noSuchMethod(
Invocation invocation) → dynamic  - 
  Invoked when a nonexistent method or property is accessed.
  inherited
 - 
  toMap(
) → Map< String, dynamic>  - 
  Converts the 
InfospectNetworkRequestobject into a Map representation. - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited