copyWith method

LogStreamFile copyWith({
  1. String? path,
  2. int? maxFileSize,
  3. bool? redirectStderr,
})

Implementation

LogStreamFile copyWith({
  String? path,
  int? maxFileSize,
  bool? redirectStderr,
}) =>
    LogStreamFile(
      path: path ?? this.path,
      maxFileSize: maxFileSize ?? this.maxFileSize,
      redirectStderr: redirectStderr ?? this.redirectStderr,
    );