copyWith method

ToggleSessionCanAcceptCalls copyWith({
  1. int? sessionId,
  2. bool? canAcceptCalls,
})

Implementation

ToggleSessionCanAcceptCalls copyWith({
  int? sessionId,
  bool? canAcceptCalls,
}) =>
    ToggleSessionCanAcceptCalls(
      sessionId: sessionId ?? this.sessionId,
      canAcceptCalls: canAcceptCalls ?? this.canAcceptCalls,
    );