copyWith method

SessionNotification copyWith({
  1. Object? sessionId = _acpCopyWithAbsent,
  2. Object? update = _acpCopyWithAbsent,
  3. Object? meta = _acpCopyWithAbsent,
})

Implementation

SessionNotification copyWith({
  Object? sessionId = _acpCopyWithAbsent,
  Object? update = _acpCopyWithAbsent,
  Object? meta = _acpCopyWithAbsent,
}) => SessionNotification(
  sessionId: identical(sessionId, _acpCopyWithAbsent)
      ? this.sessionId
      : sessionId as SessionId,
  update: identical(update, _acpCopyWithAbsent)
      ? this.update
      : update as SessionUpdate,
  meta: identical(meta, _acpCopyWithAbsent) ? this.meta : meta as AcpJsonMap?,
);