copyWith method

BlockforestRequestDetails copyWith({
  1. int? id,
  2. String? pathParams,
  3. HTTPRequestType? requestType,
  4. Map<String, String>? header,
  5. Object? body,
})

Implementation

BlockforestRequestDetails copyWith({
  int? id,
  String? pathParams,
  HTTPRequestType? requestType,
  Map<String, String>? header,
  Object? body,
}) {
  return BlockforestRequestDetails(
    id: id ?? this.id,
    pathParams: pathParams ?? this.pathParams,
    requestType: requestType ?? this.requestType,
    header: header ?? this.header,
    body: body ?? this.body,
  );
}