# copyWith method

StreamManagementState copyWith(

1. {Object c2s = _smNotSpecified,
2. Object s2c = _smNotSpecified,
3. Object? streamResumptionLocation = _smNotSpecified,
4. Object? streamResumptionId = _smNotSpecified}

)

## Implementation

    StreamManagementState copyWith({
      Object c2s = _smNotSpecified,
      Object s2c = _smNotSpecified,
      Object? streamResumptionLocation = _smNotSpecified,
      Object? streamResumptionId = _smNotSpecified,
    }) {
      return StreamManagementState(
        c2s != _smNotSpecified ? c2s as int : this.c2s,
        s2c != _smNotSpecified ? s2c as int : this.s2c,
        streamResumptionLocation: streamResumptionLocation != _smNotSpecified
            ? streamResumptionLocation as String?
            : this.streamResumptionLocation,
        streamResumptionId: streamResumptionId != _smNotSpecified
            ? streamResumptionId as String?
            : this.streamResumptionId,
      );
    }