copyWith abstract method
SessionLogEntry
copyWith({
- int? id,
- String? serverId,
- DateTime? time,
- String? module,
- String? endpoint,
- String? method,
- double? duration,
- int? numQueries,
- bool? slow,
- String? error,
- String? stackTrace,
- int? authenticatedUserId,
- String? userId,
- bool? isOpen,
- DateTime? touched,
- List<
LogEntry> ? logs, - List<
QueryLogEntry> ? queries, - List<
MessageLogEntry> ? messages,
Returns a shallow copy of this SessionLogEntry with some or all fields replaced by the given arguments.
Implementation
@_i1.useResult
SessionLogEntry copyWith({
int? id,
String? serverId,
DateTime? time,
String? module,
String? endpoint,
String? method,
double? duration,
int? numQueries,
bool? slow,
String? error,
String? stackTrace,
int? authenticatedUserId,
String? userId,
bool? isOpen,
DateTime? touched,
List<_i2.LogEntry>? logs,
List<_i3.QueryLogEntry>? queries,
List<_i4.MessageLogEntry>? messages,
});