HttpProfileRequest constructor Null safety

HttpProfileRequest(
  1. {required int id,
  2. required String isolateId,
  3. required String method,
  4. required Uri uri,
  5. required int startTime,
  6. required Uint8List? requestBody,
  7. required Uint8List? responseBody,
  8. int? endTime,
  9. HttpProfileRequestData? request,
  10. HttpProfileResponseData? response}
)

Implementation

HttpProfileRequest({
  required int id,
  required String isolateId,
  required String method,
  required Uri uri,
  required int startTime,
  required this.requestBody,
  required this.responseBody,
  int? endTime,
  HttpProfileRequestData? request,
  HttpProfileResponseData? response,
}) : super(
        id: id,
        isolateId: isolateId,
        method: method,
        uri: uri,
        startTime: startTime,
        endTime: endTime,
        request: request,
        response: response,
      );