copyWith abstract method

  1. @useResult
QueryLogEntry copyWith({
  1. int? id,
  2. String? serverId,
  3. int? sessionLogId,
  4. int? messageId,
  5. String? query,
  6. double? duration,
  7. int? numRows,
  8. String? error,
  9. String? stackTrace,
  10. bool? slow,
  11. int? order,
})

Returns a shallow copy of this QueryLogEntry with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
QueryLogEntry copyWith({
  int? id,
  String? serverId,
  int? sessionLogId,
  int? messageId,
  String? query,
  double? duration,
  int? numRows,
  String? error,
  String? stackTrace,
  bool? slow,
  int? order,
});