copyWith method

ReadTextFileRequest copyWith({
  1. Object? sessionId = _acpCopyWithAbsent,
  2. Object? path = _acpCopyWithAbsent,
  3. Object? line = _acpCopyWithAbsent,
  4. Object? limit = _acpCopyWithAbsent,
  5. Object? meta = _acpCopyWithAbsent,
})

Implementation

ReadTextFileRequest copyWith({
  Object? sessionId = _acpCopyWithAbsent,
  Object? path = _acpCopyWithAbsent,
  Object? line = _acpCopyWithAbsent,
  Object? limit = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => ReadTextFileRequest(
  sessionId: identical(sessionId, _acpCopyWithAbsent)
      ? this.sessionId
      : sessionId as SessionId,
  path: identical(path, _acpCopyWithAbsent) ? this.path : path as String,
  line: identical(line, _acpCopyWithAbsent) ? this.line : line as int?,
  limit: identical(limit, _acpCopyWithAbsent) ? this.limit : limit as int?,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);