copyWith method
Log
copyWith({
- String? message,
- Level? level,
- DateTime? time,
- Object? error,
- StackTrace? stackTrace,
Implementation
Log copyWith({
String? message,
Level? level,
DateTime? time,
Object? error,
StackTrace? stackTrace,
}) {
return Log(
message: message ?? this.message,
level: level ?? this.level,
time: time ?? this.time,
error: error ?? this.error,
stackTrace: stackTrace ?? this.stackTrace,
);
}