SimpleOverlayNetworkLog constructor

SimpleOverlayNetworkLog({
  1. required DateTime timestamp,
  2. required String tag,
  3. required String method,
  4. required String url,
  5. required Map<String, String> requestHeaders,
  6. required String requestBody,
  7. int? statusCode,
  8. Map<String, String>? responseHeaders,
  9. String? responseBody,
  10. required bool isSuccess,
})

Creates a new NetworkLog instance

All required parameters must be provided. Optional parameters (statusCode, responseHeaders, responseBody) can be null if not available.

Implementation

SimpleOverlayNetworkLog({
  required super.timestamp,
  required super.tag,
  required this.method,
  required this.url,
  required this.requestHeaders,
  required this.requestBody,
  this.statusCode,
  this.responseHeaders,
  this.responseBody,
  required this.isSuccess,
});