copyWith method

SendCallDebugInformation copyWith({
  1. int? callId,
  2. String? debugInformation,
})

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

SendCallDebugInformation copyWith({
  int? callId,
  String? debugInformation,
}) =>
    SendCallDebugInformation(
      callId: callId ?? this.callId,
      debugInformation: debugInformation ?? this.debugInformation,
    );